svg-sanitizer 0.5.0 before 1.1.0 Incomplete url() Filtering in SVG Attributes

State
Published
Severity
5.3 Medium
Published
Nov 3, 2026
Updated
Nov 7, 2026
Reserved
Nov 3, 2026

Read the record on cve.org

Description

svg-sanitizer from 0.5.0 before 1.1.0 contains an incomplete filtering vulnerability that allows attackers to bypass remote URL removal by using CSS escape sequences inside url() in SVG presentation attributes. Attackers can supply SVG files with attributes like fill containing escaped slashes that browsers resolve to remote URLs, triggering external requests and enabling data exfiltration.

ProductVersions
svg-sanitizer darylldoyle0.5.0 to before 1.1.0 Affected1.1.0 Not Affected

Weaknesses

  • CWE-791 Incomplete Filtering of Special Elements

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.