Crafted input may cause the jsoup HTML and XML parser to get stuck, timeout, or throw unchecked exceptions

Summary

CVECVE-2021-37714
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-08-18 15:15:08 UTC
Updated2026-10-08 21:17:38 UTC
Descriptionjsoup 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.066890000 probability, percentile 0.937500000 (date 2026-10-10)

Problem Types: CWE-248 | CWE-835 | CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') | CWE-248 CWE-248: Uncaught Exception


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1[email protected]Secondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNADECLARED7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
2.0[email protected]Primary5AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:L/Au:N/C:N/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Jsoup Jsoup All All All All
Application Netapp Management Services For Element Software And Netapp Hci - All All All
Application Oracle Banking Trade Finance 14.5 All All All
Application Oracle Banking Treasury Management 14.5 All All All
Application Oracle Business Process Management Suite 12.2.1.3.0 All All All
Application Oracle Business Process Management Suite 12.2.1.4.0 All All All
Operating System Oracle Communications Messaging Server 8.1 All All All
Application Oracle Financial Services Crime And Compliance Management Studio 8.0.8.2.0 All All All
Application Oracle Financial Services Crime And Compliance Management Studio 8.0.8.3.0 All All All
Application Oracle Flexcube Universal Banking 14.5 All All All
Application Oracle Flexcube Universal Banking All All All All
Application Oracle Hospitality Token Proxy Service 19.2 All All All
Application Oracle Middleware Common Libraries And Tools 12.2.1.3.0 All All All
Application Oracle Middleware Common Libraries And Tools 12.2.1.4.0 All All All
Application Oracle Peoplesoft Enterprise Peopletools 8.58 All All All
Application Oracle Peoplesoft Enterprise Peopletools 8.59 All All All
Application Oracle Primavera Unifier 20.12 All All All
Application Oracle Primavera Unifier 21.12 All All All
Application Oracle Retail Customer Management And Segmentation Foundation All All All All
Application Oracle Stream Analytics All All All All
Application Oracle Stream Analytics 19c All All All
Application Oracle Webcenter Portal 12.2.1.3.0 All All All
Application Oracle Webcenter Portal 12.2.1.4.0 All All All
Application Quarkus Quarkus All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Jhy Jsoup affected < 1.14.2 Not specified

References

ReferenceSourceLinkTags
lists.apache.org/thread.html/r215009dbf7467a9f6506d0c0024cb36cad30071010e62c93... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Oracle Critical Patch Update Advisory - April 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
jsoup release 1.14.1 (2021-Jul-10) af854a3a-2127-422b-91ae-364da2661108 jsoup.org Release Notes, Vendor Advisory
CVE-2021-37714 jsoup Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
Oracle Critical Patch Update Advisory - January 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
Oracle Critical Patch Update Advisory - July 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
lists.apache.org/thread.html/r3d71f18adb78e50f626dde689161ca63d3b7491bd9718fcd... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Crafted input may cause the jsoup HTML and XML parser to get stuck, timeout, or throw unchecked exceptions · Advisory · jhy/jsoup · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Third Party Advisory
lists.apache.org/thread.html/r50e9c9466c592ca9d707a5dea549524d19e3287da08d8392... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/r377b93d79817ce649e9e68b3456e6f499747ef1643fa987b... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/r685c5235235ad0c26e86d0ee987fb802c9675de6081dbf05... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
lists.apache.org/thread.html/r97404676a5cf591988faedb887d64e278f522adcaa823d89... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
jsoup release 1.14.2 (2021-Aug-15) af854a3a-2127-422b-91ae-364da2661108 jsoup.org Release Notes, Vendor Advisory
lists.apache.org/thread.html/rc3354080fc67fb50b45b3c2d12dc4ca2a3c1c78dad3d3ba0... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 184645 Debian Security Update for jsoup (CVE-2021-37714)
  • 239885 Red Hat Update for JBoss Enterprise Application Platform 7.4.2 on RHEL 8 (RHSA-2021:4677)
  • 239888 Red Hat Update for JBoss Enterprise Application Platform 7.4.2 on RHEL 7 (RHSA-2021:4676)
  • 239965 Red Hat Update for JBoss Enterprise Application Platform 7.3.10 on RHEL 7 (RHSA-2021:5150)
  • 239966 Red Hat Update for JBoss Enterprise Application Platform 7.3.10 on RHEL 8 (RHSA-2021:5151)
  • 239967 Red Hat Update for JBoss Enterprise Application Platform 7.3.10 on RHEL 6 (RHSA-2021:5149)
  • 376547 Oracle PeopleSoft Enterprise PeopleTools Product Multiple Vulnerabilities (CPUAPR2022)
  • 752051 SUSE Enterprise Linux Security Update for jsoup, jsr-305 (SUSE-SU-2022:1265-1)
  • 901401 Common Base Linux Mariner (CBL-Mariner) Security Update for jsoup (7253)
  • 980408 Java (maven) Security Update for org.jsoup:jsoup (GHSA-m72m-mhq2-9p6c)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report