CVE-2026-71497

MEDIUM

jsoup: Cleaner may expose markup with custom raw-text elements

Title source: cna
STIX 2.1

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.

References (4)

Core 4

Scores

CVSS v3 4.7
EPSS 0.0019
EPSS Percentile 8.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (2)
jhy/jsoup >= 1.14.3, < 1.23.1
org.jsoup/jsoup 1.14.3 - 1.23.1Maven
Published Aug 06, 2026
Tracked Since Aug 07, 2026