6.1Medium
CVE-2026-121447svg-sanitizer before 1.1.0 XSS via animateTransform on Safari
Description
svg-sanitizer before 1.1.0 contains a cross-site scripting vulnerability that allows attackers to bypass sanitization by placing javascript: URLs in the animateTransform values attribute. Attackers can upload crafted SVG files whose animateTransform targets the href attribute, executing arbitrary JavaScript when Safari users click the link.
Weakness (CWE):
CWE-79
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| darylldoyle | svg-sanitizer | < 1.1.0, fixed 1.1.0 | |
| drupal | svg sanitizer | < 1.1.0 |
References and patches
- GitHub Security Advisory (GHSA-q546-85r6-f39q) vendor-advisory
- VulnCheck Advisory: svg-sanitizer before 1.1.0 XSS via animateTransform on Safari third-party-advisory