4.3Medium
CVE-2026-121446svg-sanitizer 0.5.0 before 1.1.0 Incomplete url() Filtering in SVG Attributes
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.
Weakness (CWE):
CWE-791
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| darylldoyle | svg-sanitizer | 0.5.0 – < 1.1.0, fixed 1.1.0 | |
| drupal | svg sanitizer | 0.5.0 – < 1.1.0 |
References and patches
- GitHub Security Advisory (GHSA-3vh3-jf65-656w) vendor-advisory
- VulnCheck Advisory: svg-sanitizer 0.5.0 before 1.1.0 Incomplete url() Filtering in SVG Attributes third-party-advisory