๐Ÿ” CVE Alert

CVE-2026-71497

MEDIUM 4.7

jsoup: Cleaner may expose markup with custom raw-text elements

CVSS Score
4.7
EPSS Score
0.0%
EPSS Percentile
0th

jsoup is a Java library for working with real-world HTML. From 1.14.3 until 1.23.1, jsoup's HTML parser could incorrectly handle a malformed tag name ending in a control character, causing the tag to acquire the parsing behavior of a different element. When a custom Safelist permits certain raw-text elements, this misparsing can cause content that should remain inert text to be emitted as active markup after serialization, potentially resulting in cross-site scripting. jsoup's built-in Safelists are not affected. This issue is fixed in version 1.23.1.

CWE CWE-79
Vendor jhy
Product jsoup
Published Aug 6, 2026
Stay Ahead of the Next One

Get instant alerts for jhy jsoup

Be the first to know when new medium vulnerabilities affecting jhy jsoup are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Affected Versions

jhy / jsoup
>= 1.14.3, < 1.23.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8 github.com: https://github.com/jhy/jsoup/issues/2538 github.com: https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70 github.com: https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1