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
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.
| Product | Versions |
|---|---|
| svg-sanitizer darylldoyle | 0.5.0 to before 1.1.0 Affected1.1.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 4.3 Medium | VulnCheck |
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.