Quick answers
- Is CVE-2026-71497 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-71497 being exploited in the wild.
- How severe is CVE-2026-71497?
- Medium severity, with a CVSS score of 4.7, published 6 August 2026.
- Which products and versions are affected?
- Jsoup >= 1.14.3, < 1.23.1; org.jsoup:jsoup (Maven) >= 1.14.3, < 1.23.1, ECOSYSTEM:introduced=1.14.3,fixed=1.23.1.
- Is there a fix for CVE-2026-71497?
- Yes. org.jsoup:jsoup (Maven): upgrade to 1.23.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-71497 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-71497?
- Check whether you run Jsoup or org.jsoup:jsoup (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- org.jsoup:jsoup (Maven): upgrade to 1.23.1 or later
# set org.jsoup:jsoup to 1.23.1 in your pom.xml or build.gradle
Technical details
A Cross-Site Scripting (XSS) vulnerability exists in jsoup's Cleaner component when using custom Safelists that permit raw-text elements. The root cause is improper handling of malformed HTML tag names that end in control characters. During parsing, such tags may acquire the behavior of different elements, causing content intended to be treated as plain text to be emitted as active markup after serialization. This allows an attacker to bypass sanitization and inject executable scripts. The vulnerability is present in versions 1.14.3 through 1.23.0 and is fixed in version 1.23.1. Built-in Safelists are not affected.
Affected products
- jhy jsoup >= 1.14.3, < 1.23.1
Identifiers
- CVE-2026-71497
- GHSA-pmhh-3w7g-xqp8
Timeline
- 2026-07-30: disclosed: Initial disclosure by jhy
- 2026-08-06: advisory: GitHub Advisory published
- 2026-08-06: patched: Version 1.23.1 released