Input validation error in SVG Sanitizer - #VU146565

 

Input validation error in SVG Sanitizer - #VU146565

Published: September 1, 2026


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

Vulnerability details

The vulnerability allows a remote user to execute arbitrary JavaScript in the victim\'s browser.

The vulnerability exists due to improper input validation in href validation in svg-sanitize when processing crafted SVG content with DTD entity and HTML5 named character reference collisions. A remote user can upload a specially crafted SVG that passes sanitization and is later rendered inline in HTML to execute arbitrary JavaScript in the victim\'s browser.

User interaction is required to click the rendered link, and exploitation requires the sanitized SVG to be embedded inline in HTML rather than loaded through an img element.


Affected software

SVG Sanitizer

Remediation

Install security update from vendor's website.

SVG Sanitizer - update to 1.0.0

External References

Related Security Bulletins