CVE-2026-71497jsoup: Cleaner may expose markup with custom raw-text elements
jsoup is a Java library for working with real-world HTML. From 1.14.3 until 1.23.1, jsoup's HTML parser could incorrectly handle a malformed tag name ending in a control character, causing the tag to acquire the parsing behavior of a different element. When a custom Safelist permits certain raw-text elements, this misparsing can cause content that should remain inert text to be emitted as active markup after serialization, potentially resulting in cross-site scripting. jsoup's built-in Safelists are not affected. This issue is fixed in version 1.23.1.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jsoup | Fix pending | UBUNTU-CVE-2026-71497 | |
| Ubuntu 26.04 | jsoup | Under investigation | UBUNTU-CVE-2026-71497 | |
| Ubuntu 24.04 | jsoup | Under investigation | UBUNTU-CVE-2026-71497 | |
| Ubuntu 22.04 | jsoup | Under investigation | UBUNTU-CVE-2026-71497 | |
| Ubuntu 20.04 | jsoup | Fix pending | UBUNTU-CVE-2026-71497 | |
| Ubuntu 18.04 | jsoup | Fix pending | UBUNTU-CVE-2026-71497 | |
| Ubuntu 16.04 | jsoup | Fix pending | UBUNTU-CVE-2026-71497 | |
| Ubuntu 14.04 | jsoup | Fix pending | UBUNTU-CVE-2026-71497 | |
| Debian 14 | jsoup | Fixed | 1.23.2-1 | DEBIAN-CVE-2026-71497 |
| Debian 13 | jsoup | Fix pending | DEBIAN-CVE-2026-71497 | |
| Debian 12 | jsoup | Fix pending | DEBIAN-CVE-2026-71497 | |
| Red Hat Enterprise Linux 10 | jakarta-mail | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | jakarta-mail-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | aopalliance | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | apache-commons-cli | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | apache-commons-codec | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | apache-commons-io | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | atinject | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | google-guice | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | guava | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | httpcomponents-client | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | httpcomponents-core | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | jakarta-annotations | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | jakarta-mail | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | jansi | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | jcl-over-slf4j | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | jmc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | jsr-305 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven-lib | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven-openjdk11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven-openjdk17 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven-openjdk21 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven-openjdk25 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven-openjdk8 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven-resolver | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven-shared-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven-unbound | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven-wagon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | maven-wagon-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | plexus-cipher | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | plexus-classworlds | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | plexus-containers | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | plexus-containers-component-annotations | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | plexus-interpolation | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | plexus-sec-dispatcher | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | plexus-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | sisu | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | slf4j | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | maven-wagon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | maven-wagon-file | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | maven-wagon-ftp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | maven-wagon-http | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | maven-wagon-http-lightweight | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | maven-wagon-http-shared | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | maven-wagon-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | maven-wagon-provider-api | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | maven-wagon-providers | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | maven-wagon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | maven-wagon-javadoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | maven-wagon-provider-test | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | maven-wagon-scm | Fix pending Fix deferred | ||
| Maven library | org.jsoup:jsoup | Fixed | 1.23.1 | GHSA-pmhh-3w7g-xqp8 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jhy jsoup: affected: >= 1.14.3, < 1.23.1
References
- https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8
- https://github.com/jhy/jsoup/issues/2538
- https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70
- https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.