Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-71497: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in jhy jsoup

0
Medium
VulnerabilityCVE-2026-71497cvecve-2026-71497cwe-79
Published: 08/06/2026 (08/06/2026, 21:09:31 UTC)
Source: CVE Database V5
Vendor/Project: jhy
Product: jsoup

Description

A cross-site scripting (XSS) vulnerability exists in jsoup versions from 1.14.3 up to but not including 1.23.1. The issue arises when the HTML parser incorrectly handles malformed tag names ending with control characters, causing misparsing that can lead to active markup emission instead of inert text. This vulnerability affects custom Safelists that allow certain raw-text elements, while jsoup's built-in Safelists are not impacted. The vulnerability is fixed in version 1.23.1.

CVSS v3.1

Score 4.7medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

org.jsoup/jsoup
pkg:maven/org.jsoup/jsoup
Affected versions
>=1.14.3 <1.23.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 22:27:44 UTC

Technical Analysis

jsoup, a Java library for HTML parsing, versions >=1.14.3 and <1.23.1 contain a vulnerability where malformed tag names ending in control characters cause the parser to misinterpret the tag's behavior. When using custom Safelists that permit certain raw-text elements, this misparsing can result in content that should be treated as inert text being output as active markup after serialization, potentially enabling cross-site scripting (CWE-79). The built-in Safelists are unaffected. The issue is resolved in version 1.23.1.

Potential Impact

This vulnerability can lead to cross-site scripting attacks when custom Safelists are used, allowing an attacker to inject active markup that could execute in the context of a user's browser. The impact is limited to scenarios where custom Safelists permit certain raw-text elements and malformed input is processed. The built-in Safelists do not expose this risk. The CVSS score is 4.7 (medium severity), reflecting limited impact and the requirement for user interaction.

Mitigation Recommendations

Upgrade jsoup to version 1.23.1 or later, where this vulnerability is fixed. Avoid using custom Safelists that permit raw-text elements until the upgrade is applied. No other mitigations are specified or required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-06T19:56:23.726Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a750711bf8831d5395f5e17

Added to database: 08/06/2026, 22:13:37 UTC

Last enriched: 08/06/2026, 22:27:44 UTC

Last updated: 08/07/2026, 02:05:53 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses