svg-sanitizer before 1.1.0 XSS via animateTransform on Safari
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 3, 2026
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.
| Product | Versions |
|---|---|
| svg-sanitizer darylldoyle | before 1.1.0 Affected1.1.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 6.1 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-q546-85r6-f39q)Vendor Advisory
- VulnCheck Advisory: svg-sanitizer before 1.1.0 XSS via animateTransform on SafariThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.