CVE Catalog

CVE-2021-37714

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
6.69%

94th percentile - higher than 94% of all known CVEs

Summary

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.

Risk Assessment

An attacker can supply malicious content, causing resource exhaustion and unavailability of the parsing service.

Recommendation

Upgrade jsoup to version 1.14.2 or later. As workarounds, apply input size limits, rate limiting, or thread watchdogs.

Other vulnerabilities in jsoup

See all
Original NVD description (English source)

jsoup is a Java library for working with HTML. Those using jsoup versions prior to 1.14.2 to parse untrusted HTML or XML may be vulnerable to DOS attacks. If the parser is run on user supplied input, an attacker may supply content that causes the parser to get stuck (loop indefinitely until cancelled), to complete more slowly than usual, or to throw an unexpected exception. This effect may support a denial of service attack. The issue is patched in version 1.14.2. There are a few available workarounds. Users may rate limit input parsing, limit the size of inputs based on system resources, and/or implement thread watchdogs to cap and timeout parse runtimes.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS