cvelo
P3 · MediumCVSS 4.3EPSS 0.3%

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

  • CVE-2026-121446
  • GHSA-3r85-4hm6-r357
  • EUVD-2026-115868

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.

Text from the CVE.org record.

Recommendation

  • darylldoyle svg-sanitizer

    • If you run a version from 0.5.0 to before 1.1.0update to 1.1.0 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • darylldoyle svg-sanitizer

    Affected versionsFixed in
    from 0.5.0 to before 1.1.01.1.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.