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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jhy | jsoup | < 1.14.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jsoup | 1.14.2-1 | — |
| Debian 13 | jsoup | 1.14.2-1 | — |
| Debian 12 | jsoup | 1.14.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | jsoup | No fix yet | — |
| Ubuntu 20.04 LTS | jsoup | No fix yet | — |
| Ubuntu 18.04 LTS | jsoup | No fix yet | — |
| Ubuntu 16.04 LTS | jsoup | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | jsoup | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Jboss Enterprise Application Platform Eus 7 | eap7-activemq-artemis +15 | 1.5.5.016-1.redhat_00001.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat Jboss Enterprise Application Platform Eus 7 | eap7-artemis-native +1 | 1:1.5.5.016-1.redhat_00001.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat Jboss Enterprise Application Platform Eus 7 | eap7-jboss-xnio-base | 3.5.11-1.Final_redhat_00001.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat Jboss Enterprise Application Platform Eus 7 | eap7-jsoup | 1.14.2-1.redhat_00002.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat Jboss Enterprise Application Platform Eus 7 | eap7-undertow | 1.4.18-14.SP13_redhat_00001.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat Jboss Enterprise Application Platform Eus 7 | eap7-wildfly +1 | 7.1.10-2.GA_redhat_00002.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat Jboss Enterprise Application Platform Eus 7 | eap7-woodstox-core | 5.0.3-2.redhat_00002.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat Jboss Enterprise Application Platform Eus 7 | eap7-xml-security | 2.0.10-2.redhat_00002.1.ep7.el7 | RHSA-2025:4226 |
| Red Hat JBoss EAP 7 | eap7-apache-cxf +3 | 3.3.12-1.redhat_00001.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
| Red Hat JBoss EAP 7 | eap7-apache-sshd | 2.7.0-1.redhat_00001.1.el7eap | RHSA-2021:4677, RHSA-2021:4676 |
| Red Hat JBoss EAP 7 | eap7-ironjacamar +8 | 1.5.3-1.Final_redhat_00001.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
| Red Hat JBoss EAP 7 | eap7-jakarta-el | 3.0.3-3.redhat_00007.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
| Red Hat JBoss EAP 7 | eap7-jboss-ejb-client | 4.0.43-1.Final_redhat_00001.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
| Red Hat JBoss EAP 7 | eap7-jboss-server-migration +21 | 1.7.2-10.Final_redhat_00011.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
| Red Hat JBoss EAP 7 | eap7-jsoup | 1.14.2-1.redhat_00002.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
| Red Hat JBoss EAP 7 | eap7-resteasy +19 | 3.11.5-1.Final_redhat_00001.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
| Red Hat JBoss EAP 7 | eap7-undertow | 2.0.41-1.SP1_redhat_00001.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
| Red Hat JBoss EAP 7 | eap7-wildfly +2 | 7.3.10-2.GA_redhat_00003.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
| Red Hat JBoss EAP 7 | eap7-wildfly-elytron +1 | 1.10.15-1.Final_redhat_00001.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
| Red Hat JBoss EAP 7 | eap7-wildfly-java-jdk8 +1 | 7.3.10-2.GA_redhat_00003.1.el7eap | RHSA-2021:5150, RHSA-2021:4676 |
| Red Hat JBoss EAP 7 | eap7-wss4j +6 | 2.2.7-1.redhat_00001.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
| Red Hat JBoss EAP 7 | eap7-xml-security | 2.1.7-1.redhat_00001.1.el6eap | RHSA-2021:5151, RHSA-2021:5150, RHSA-2021:5149 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | jsoup | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SLES 15 SP3 | jsr-305 | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SLES 15 SP2 | jsoup | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SLES 15 SP2 | jsr-305 | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP2 | jsoup | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SLES for SAP 15 SP2 | jsr-305 | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SLE Real Time 15 SP2 | jsoup | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SLE Real Time 15 SP2 | jsr-305 | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SLE HPC 15 SP2 | jsoup | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SLE HPC 15 SP2 | jsr-305 | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE Manager Server 4.1 | jsoup | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE Manager Server 4.1 | jsr-305 | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE Manager Retail Branch Server 4.1 | jsoup | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE Manager Retail Branch Server 4.1 | jsr-305 | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE Manager Proxy 4.1 | jsoup | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE Manager Proxy 4.1 | jsr-305 | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE Enterprise Storage 7 | jsoup | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| SUSE Enterprise Storage 7 | jsr-305 | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | jsoup | 1.14.2-1.2 | openSUSE-SU-2024:10882-1 |
| openSUSE Tumbleweed | jsr-305 | 3.0.2-1.2 | openSUSE-SU-2024:10883-1 |
| openSUSE Leap 15.3 | jsoup | 1.14.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
| openSUSE Leap 15.3 | jsr-305 | 3.0.2-150200.3.3.1 | SUSE-SU-2022:1265-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | jsoup +1 | 1.16.1-4.amzn2023.0.2 | ALAS2023-2025-884 |
| Amazon Linux 2 | jsoup +1 | 1.16.1-4.amzn2.0.1 | ALAS2-2025-2813 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | jsoup | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | jsoup | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.jsoup:jsoup | < 1.14.2 | 1.14.2 | GHSA-m72m-mhq2-9p6c |
Advisories 15
- RHSA-2025:4226 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.10 on RHEL 7 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2021:5151 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.10 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2021:5150 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.10 security update on RHEL 7 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2021:5149 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.10 security update on RHEL 6 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2021:4677 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.2 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2021:4676 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.2 security update on RHEL 7 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- SUSE-SU-2022:1265-1 Security update for jsoup, jsr-305 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10882-1 jsoup-1.14.2-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10883-1 jsr-305-3.0.2-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-0726 Red Hat JBoss Enterprise Application Platform: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Jun 24, 2025
- ALAS2-2025-2813 Moderate: jsoup security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 1, 2025
- ALAS2023-2025-884 Moderate: jsoup security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Mar 5, 2025
- WID-SEC-2024-2180 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 18, 2024
- WID-SEC-2023-2674 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 26, 2023
- WID-SEC-2023-2993 Atlassian Bamboo, Atlassian Bitbucket, Atlassian Confluence and Atlassian Jira Software: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 12, 2023
References
- https://github.com/jhy/jsoup/security/advisories/GHSA-m72m-mhq2-9p6c
- https://jsoup.org/news/release-1.14.1
- https://jsoup.org/news/release-1.14.2
- [james-notifications] 20210820 [GitHub] [james-project] chibenwa opened a new pull request #609: [UPGRADE] JSOUP 1.14.1 -> 1.14.2 to address CVE-2021-37714 mailing-list
- [james-notifications] 20210823 [GitHub] [james-project] chibenwa merged pull request #609: [UPGRADE] JSOUP 1.14.1 -> 1.14.2 to address CVE-2021-37714 mailing-list
- [james-notifications] 20210823 [james-project] branch master updated: [UPGRADE] JSOUP 1.14.1 -> 1.14.2 to address CVE-2021-37714 mailing-list
- [maven-issues] 20210830 [jira] [Created] (WAGON-612) Update jsoup to >= 1.14.2 for fix security issue mailing-list
- [maven-issues] 20210901 [jira] [Created] (MNG-7227) Fix CVE-2021-37714 present in apache-maven mailing-list
- [maven-issues] 20210901 [jira] [Updated] (MNG-7227) Fix CVE-2021-37714 present in apache-maven mailing-list
- [maven-issues] 20210901 [jira] [Commented] (MNG-7227) Fix CVE-2021-37714 present in apache-maven mailing-list
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20220210-0022/
- https://www.oracle.com/security-alerts/cpujul2022.html