{"id":"CVE-2026-71497","aliases":["GHSA-pmhh-3w7g-xqp8"],"url":"https://o3.security/vulnerability/CVE-2026-71497","summary":"jsoup: Cleaner may expose markup with custom raw-text elements","details":"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.","published":"2026-08-06T21:09:31.489Z","modified":"2026-09-12T08:07:27.116900Z","cvss":{"score":4.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.0019,"percentile":0.08738,"asOf":"2026-09-07"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.jsoup:jsoup","fixedVersion":"1.23.1"}],"fix":{"url":"https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70","label":"jhy/jsoup@92f1aca"},"references":[{"type":"WEB","url":"https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71497.json"},{"type":"ADVISORY","url":"https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71497"},{"type":"REPORT","url":"https://github.com/jhy/jsoup/issues/2538"},{"type":"FIX","url":"https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-12T08:07:27.116900Z"}}