Skip to content
Medium 5.3

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

CVE-2026-121446 First seen on SecPulse

Affected packages

PackageAffected → Fixed
darylldoylesvg-sanitizer
≥ 0.5.0, < 1.1.0→ 1.1.0
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details