jsoup vulnerabilities
4 known CVE vulnerabilities in jsoup, translated and rated.
- 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-75140High
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.
- 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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

