CVE-2026-71497
jsoup: Cleaner may expose markup with custom raw-text elements
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVDNVD · Awaiting Analysis | 3.1 | Medium4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.30% · top 78% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.7.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.jsoup:jsoupGHSA-pmhh-3w7g-xqp8 (opens in a new tab)
References (4)
- https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/jhy/jsoup/issues/2538 (opens in a new tab)x_refsource_MISC
- https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70 (opens in a new tab)x_refsource_MISC
- https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pmhh-3w7g-xqp8 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-71497)Record last updated .