CVE-2026-116538

LOW CVSS 4.0: 2.3 EPSS 0.29%
Updated Oct 31, 2026
Htmlsanitizer_Project
Parameter Value
CVSS 2.3 (LOW)
Affected Versions 10.0.0-beta — 9.2.1039
Fixed In 9.2.1039
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor Htmlsanitizer_Project
Public PoC No

HtmlSanitizer before 9.2.1039 and 10.0 prereleases before 10.0.1037-beta contains a cross-site scripting vulnerability because SanitizeDom(string) never sanitizes attributes on the html and body wrapper elements. Attackers can supply input with a second body or html tag carrying event handlers like onload, executing script when applications render serialized document or body outer HTML.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Htmlsanitizer_Project Htmlsanitizer
cpe:2.3:a:htmlsanitizer_project:htmlsanitizer:*:*:*:*:*:*:*:*
— 9.2.1039
Htmlsanitizer_Project Htmlsanitizer
cpe:2.3:a:htmlsanitizer_project:htmlsanitizer:*:*:*:*:*:*:*:*
10.0.0-beta 10.0.1037-beta