XSS in Jhy Jsoup

CVE-2026-71497

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.002 (9.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-71497?
CVE-2026-71497 is a medium-severity vulnerability in Jhy Jsoup, classified under Cross-site Scripting. CVSS score: 4.7/10. Published 2026-08-06.
How severe is CVE-2026-71497?
Medium severity. CVSS v3 base score is 4.7 out of 10.