Cross-site scripting in sanitize - #VU159536

 

Cross-site scripting in sanitize - #VU159536

Published: November 6, 2026


Vulnerability identifier: #VU159536
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to execute JavaScript in a victim's browser when the victim views sanitized HTML.

The vulnerability exists due to inconsistent parsing after Sanitize removes template wrappers under non-default configurations allowing select and raw text elements while preserving template contents. An unauthenticated remote attacker can submit crafted HTML that bypasses sanitization and executes scripts when rendered by a victim's browser using legacy select parsing rules.


Affected software

sanitize

Remediation

Install security update from vendor's website.

sanitize - update to 7.0.2

External References

Related Security Bulletins