{"id":"CVE-2026-71497","published":"2026-08-06T21:09:31Z","modified":"2026-08-07T14:37:56Z","title":"jsoup: Cleaner may expose markup with custom raw-text elements","vendor":"jhy","product":"jsoup","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00296,"percentile":0.22737,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jhy/jsoup/issues/2538","tags":["x_refsource_MISC"]},{"url":"https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70","tags":["x_refsource_MISC"]},{"url":"https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1","tags":["x_refsource_MISC"]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":4.55},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"jhy","affectedVersions":[{"vendor":"jhy","product":"jsoup","versions":[">= 1.14.3, < 1.23.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-07T14:37:48.066416Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.jsoup:jsoup","vulnerableRanges":[">=1.14.3, <1.23.1"],"patched":["1.23.1"],"from":["GHSA-pmhh-3w7g-xqp8"],"provenance":"source"}],"summary":{"text":"The jsoup Java HTML library, in versions from 1.14.3 through 1.23.1, mishandles HTML tag names that end in a control character, so a tag can take on the parsing behaviour of a different element. When a custom Safelist permits certain raw-text elements, an attacker can supply crafted markup that, after cleaning and serialisation, is emitted as active markup, enabling cross-site scripting; this requires the victim to interact with the content (user interaction) and does not apply to jsoup's built-in Safelists.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:30Z"},"euvd":{"id":"EUVD-2026-54153","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2015-6748","published":"2017-09-25","fixed":"1.8.3","kev":false},{"cve":"CVE-2021-37714","published":"2021-08-18","fixed":"1.14.2","kev":false},{"cve":"CVE-2022-36033","published":"2022-08-29","fixed":"1.15.3","kev":false},{"cve":"CVE-2026-71497","published":"2026-08-06","fixed":"1.23.1","kev":false},{"cve":"CVE-2026-75140","published":"2026-08-20","fixed":"1.23.2","kev":false,"link":{"from":"CVE-2026-71497","to":"CVE-2026-75140","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jsoup:jsoup","fromFixed":"1.23.1","toFixed":"1.23.2","daysApart":14}]}}],"package":"Maven:org.jsoup:jsoup"}}