CVE-2026-75140
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk43th percentile - higher than 43% of all known CVEs
Summary
The jsoup library through version 1.23.2 contains an uncontrolled resource consumption vulnerability in XmlTreeBuilder. A remote attacker can supply a deeply nested XML document with uniquely-namespaced elements, causing quadratic time and memory complexity, leading to JVM heap exhaustion and application termination.
Risk Assessment
The attack can cause application crash (OutOfMemoryError), resulting in service disruption and potential unavailability for users.
Recommendation
Update jsoup to a version containing the fix (commit 862ba2f) or later to eliminate the vulnerability.
Other vulnerabilities in jsoup
See all- CVE-2021-37714High
jsoup is a Java library for working with HTML. Using versions prior to 1.14.2 to parse untrusted HTML or XML may lead to DoS attacks — the parser may get stuck, run slower, or throw an unexpected exception.
- CVE-2026-71497Medium
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.
- CVE-2015-6748Medium
Cross-site scripting (XSS) vulnerability in jsoup before 1.8.3.
Original NVD description (English source)
jsoup through 1.23.2, fixed in commit 862ba2f, contains an uncontrolled resource consumption vulnerability in XmlTreeBuilder that allows remote attackers to exhaust JVM heap memory by supplying a deeply nested XML document with uniquely-namespaced elements. The builder copies the entire inherited namespace map on every start element, causing quadratic time and memory complexity, which attackers can exploit to trigger an OutOfMemoryError and terminate the application.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

