7.5high
Crafted input may cause the jsoup HTML and XML parser to get stuck, timeout, or throw unchecked exceptions
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 5.98% (higher than 93% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-m72m-mhq2-9p6c
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jhy jsoup | < 1.14.2 | CVE List |
| org.jsoup:jsoup (Maven) | before 1.14.2 | GitHub Advisory Database |
| jsoup jsoup | before 1.14.2 | NVD |
| quarkus quarkus | up to 2.2.3 | NVD |
| oracle banking_trade_finance | 14.5 | NVD |
| oracle banking_treasury_management | 14.5 | NVD |
| oracle business_process_management_suite | 12.2.1.3.0, 12.2.1.4.0 | NVD |
| oracle flexcube_universal_banking | from 14.0.0 up to 14.3.0, 14.5 | NVD |
| oracle hospitality_token_proxy_service | 19.2 | NVD |
| oracle peoplesoft_enterprise_peopletools | 8.58, 8.59 | NVD |
| oracle primavera_unifier | 20.12, 21.12 | NVD |
| oracle retail_customer_management_and_segmentation_foundation | from 17.0 up to 19.0 | NVD |
| oracle webcenter_portal | 12.2.1.3.0, 12.2.1.4.0 | NVD |
| oracle communications_messaging_server | 8.1 | NVD |
| netapp management_services_for_element_software_and_netapp_hci | Not specified | NVD |
| oracle financial_services_crime_and_compliance_management_studio | 8.0.8.2.0, 8.0.8.3.0 | NVD |
| oracle middleware_common_libraries_and_tools | 12.2.1.3.0, 12.2.1.4.0 | NVD |
| oracle stream_analytics | before 19.1.0.0.6.4, 19c | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
What kind of vulnerability is it? Who is impacted? Those using jsoup 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.
Patches
Has the problem been patched? What versions should users upgrade to? Users should upgrade to jsoup 1.14.2
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading? Users may rate limit input parsing. Users should limit the size of inputs based on system resources. Users should implement thread watchdogs to cap and timeout parse runtimes.
NVD (es)
jsoup es una biblioteca Java para trabajar con HTML. Aquellos usando versiones de jsoup anteriores a 1.14.2 para analizar HTML o XML no confiables pueden ser vulnerables a ataques DOS. Si el analizador es ejecutado con una entrada suministrada por el usuario, un atacante puede suministrar contenido que cause que el analizador se atasque (un bucle indefinido hasta que se cancele), para completarse más lentamente de lo habitual o que lance una excepción inesperada. Este efecto puede permitir un ataque de denegación de servicio. El problema está parcheado en versión 1.14.2. Se presentan algunas soluciones disponibles. Los usuarios pueden limitar el análisis de las entradas, limitar el tamaño de las entradas en función de los recursos del sistema, y/o implementar controles de hilos para limitar el tiempo de ejecución del análisis.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-37714 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m72m-mhq2-9p6c changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-37714 changed 2026-10-08 | Public domain |