# CVE-2026-121447: svg-sanitizer cross-site scripting via animateTransform

Source: https://junglewise.ai/threats/cve-2026-121447-svg-sanitizer-before-1-1-0-contains-a-cross-site-scripting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-03. Updated: 2026-11-03  
License: CC BY 4.0 with a link back

CVE-2026-121447 · Severity: medium · CVSS 6.1 · Published 2026-11-03

svg-sanitizer is a library that removes potentially dangerous code from SVG files to prevent attacks. A flaw in versions before 1.1.0 allows attackers to bypass this protection by using SVG animation features to inject malicious JavaScript code. When a Safari user clicks a link in a crafted SVG file, the injected code executes, potentially stealing data or performing unauthorized actions.

Technologies: [Enshrined Svg-Sanitizer](https://junglewise.ai/threats/technologies/svg-sanitizer). Vendors: [Enshrined](https://junglewise.ai/threats/vendors/enshrined).

## Quick answers

**Is CVE-2026-121447 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-121447 being exploited in the wild.

**How severe is CVE-2026-121447?** Medium severity, with a CVSS score of 6.1, published 3 November 2026.

**Which products and versions are affected?** Enshrined Svg-Sanitizer before 1.1.0.

**Is there a fix for CVE-2026-121447?** 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-121447 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-121447?** 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 exists in the sanitization logic for animateTransform SVG elements. An attacker can use animateTransform's values attribute to inject javascript: URLs that target the href attribute of a link element, bypassing the library's XSS filtering. The attack requires user interaction (clicking a link) and is specific to Safari's handling of SMIL animation, where animateTransform can modify arbitrary animatable attributes including href.

## Affected products

- enshrined svg-sanitizer before 1.1.0

## Timeline

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

## References

- [https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-q546-85r6-f39q](https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-q546-85r6-f39q)
- [https://www.vulncheck.com/advisories/svg-sanitizer-before-1.1.0-xss-via-animatetransform-on-safari](https://www.vulncheck.com/advisories/svg-sanitizer-before-1.1.0-xss-via-animatetransform-on-safari)

## Related threats

- [svg-sanitizer incomplete URL filtering in SVG attributes](https://junglewise.ai/threats/cve-2026-121446-svg-sanitizer-from-0-5-0-before-1-1-0-contains-an-incomplete)
- [svg-sanitizer algorithmic complexity denial of service in use reference-graph analysis](https://junglewise.ai/threats/cve-2026-121444-svg-sanitizer-from-0-11-0-before-1-1-0-contains-an-algorithmic)
- [svg-sanitizer denial of service via unclosed tag](https://junglewise.ai/threats/cve-2026-121443-svg-sanitizer-from-1-1-0-before-1-1-1-contains-a-denial-of)
- [svg-sanitizer uncaught LogicException in sanitize()](https://junglewise.ai/threats/cve-2026-117541-svg-sanitizer-from-0-11-0-before-1-1-0-contains-an-uncaught)
- [svg-sanitizer quadratic DoS in PHP tag stripping](https://junglewise.ai/threats/cve-2026-117540-svg-sanitizer-from-0-5-3-before-1-1-0-contains-a-denial-of)
