Skip to main content
← All vulnerabilities
CVE-2026-71497GHSA-PMHH-3W7G-XQP8

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.23.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • jhy jsoup

    From 1.14.3 · fixed in 1.23.1

  • org.jsoup:jsoupMaven

    From 1.14.3 · fixed in 1.23.1

References 4

GitHub · jhy/jsoup