4.3Medium

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

darylldoyle svg-sanitizer Published: (16 days ago)

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

VendorProductVersions
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