cve.bz

CVE-2026-71497 jhy jsoup: Cross-site Scripting

4.7 mediumEPSS 0.3%Fix available

Medium (4.7) in jhy jsoup. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.jsoup:jsoup 1.23.1.

On this page
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.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-71497 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-71497?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-71497?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-71497 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
jhy jsoup>= 1.14.3, < 1.23.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pmhh-3w7g-xqp8Mavenorg.jsoup:jsoup>=1.14.3 <1.23.11.23.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13jsoupno fix listedDEBIAN-CVE-2026-71497
Debian14jsoup1.23.2-1DEBIAN-CVE-2026-71497
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morejsoupno fix listedUBUNTU-CVE-2026-71497
Azure Linux3javapackages-bootstrap1.14.0-5AZL-95475

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This cross-site scripting flaw in jsoup requires a custom `Safelist` that explicitly allows raw-text elements, which is not a default configuration. Exploitation is limited to applications processing untrusted HTML with such a permissive custom `Safelist`, reducing the overall risk.

ProductPackageStateAdvisory
Red Hat build of Quarkus 3.27.5.SP2Fixed 2026-09-21RHSA-2026:69470
Red Hat build of Quarkus 3.33.3.SP2Fixed 2026-09-21RHSA-2026:69440
Cryostat 4jsoupFix deferred
Migration Toolkit for Applications 8mta/mta-cli-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-java-external-provider-rhel9Fix deferred
OpenShift Developer Tools and Servicesjenkins-2-pluginsFix deferred
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Fix deferred
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel9Fix deferred
Red Hat AMQ Broker 7jsoupFix deferred
Red Hat build of Apache Camel - HawtIO 4jsoupFix deferred
Red Hat build of Apicurio Registry 3jsoupFix deferred
Red Hat build of QuarkusjsoupFix deferred
Red Hat build of Quarkus Native builderjsoupFix deferred
Red Hat Enterprise Linux 10jakarta-mailFix deferred
Red Hat Enterprise Linux 7maven-wagonFix deferred
Red Hat Enterprise Linux 8javapackages-tools:201801/maven-wagonFix deferred
Red Hat Enterprise Linux 9jakarta-mailFix deferred
Red Hat Enterprise Linux 9jmcFix deferred
Red Hat Enterprise Linux 9mavenFix deferred
Red Hat Enterprise Linux 9maven-wagonFix deferred
10 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-71497.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON