CVE-2026-71497
published medium CVSS 3.1 · 4.7jsoup: Cleaner may expose markup with custom raw-text elements
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jhy | — | jsoup>= 1.14.3, < 1.23.1 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2150 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | jsoupnoarch | Listed in advisory | Not stated | ALAS2023-2026-2150 |
| Amazon Linux | AL2023 | jsoupsrc | Listed in advisory | Not stated | ALAS2023-2026-2150 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jhy | jsoup | >= 1.14.3, < 1.23.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4Provider assertions
2GitHub_M · cna
jsoup: Cleaner may expose markup with custom raw-text elements
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 157f731a23ca3939721af5b598cb0cddd27d2ceb45dea46a0d3bc5ecd29dd8b6
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record