PT-2021-7917
CVE-2021-37714
·
Published
2021-08-18
·
Updated
2026-09-17
Description by
CVSS 2.0
7.8
HighMetricsAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions
jsoup versions prior to 1.14.2
Description
The issue is related to the parsing of untrusted HTML or XML, which may cause the parser to get stuck, complete more slowly than usual, or throw an unexpected exception, potentially supporting a denial of service attack. If the parser is run on user-supplied input, an attacker may supply content that exploits this issue.
Recommendations
For jsoup versions prior to 1.14.2, upgrade to version 1.14.2 to resolve the issue.
As a temporary workaround, consider rate limiting input parsing, limiting the size of inputs based on system resources, and/or implementing thread watchdogs to cap and timeout parse runtimes.
Found an issue in the description? Have something to add? Feel free to write us 👾