CVE-2026-121446: svg-sanitizer incomplete URL filtering in SVG attributes

CVE-2026-121446 · Severity: medium · CVSS 4.3 · Published 2026-11-03

svg-sanitizer is a library that removes potentially dangerous content from SVG image files. The library fails to properly filter remote URLs when they are encoded using CSS escape sequences, allowing attackers to embed links to external servers within SVG files. When a browser opens a malicious SVG file, it may make unwanted external requests that could leak sensitive information.

Technologies: Enshrined Svg-Sanitizer. Vendors: Enshrined.

Quick answers

Is CVE-2026-121446 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-121446 being exploited in the wild.
How severe is CVE-2026-121446?
Medium severity, with a CVSS score of 4.3, published 3 November 2026.
Which products and versions are affected?
Enshrined Svg-Sanitizer 0.5.0 before 1.1.0.
Is there a fix for CVE-2026-121446?
Yes: fixed in 1.1.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-121446 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-121446?
Check whether you run Enshrined Svg-Sanitizer at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 1.1.0

Technical details

The vulnerability is an incomplete filtering flaw in svg-sanitizer's URL sanitization logic. The sanitizer removes remote URLs in SVG presentation attributes like fill="url(//evil.example/x)", but fails to detect them when CSS escape sequences (e.g., \2f\2f for escaped slashes) are used inside the url() function. An attacker can supply a crafted SVG file that passes sanitization but triggers external requests when opened in a browser, enabling data exfiltration. A fix exists in version 1.1.0 and later.

Affected products

  • enshrined svg-sanitizer 0.5.0 before 1.1.0

Timeline

  • 2026-10-19: disclosed
  • 2026-11-03: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.