CVE-2026-121447 Details
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.
A cross-site scripting vulnerability has been identified in svg-sanitizer versions prior to 1.1.0. This issue allows attackers to bypass the library's sanitization process by inserting javascript: URLs into the animateTransform values attribute. When a crafted SVG file is uploaded and the link is clicked in Safari, the embedded JavaScript is executed. The vulnerability arises because svg-sanitizer does not properly sanitize javascript: URLs in the values attribute, leaving users open to XSS attacks.
Users are advised to update svg-sanitizer to version 1.1.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-q546-85r6-f39q | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.vulncheck.com/advisories/svg-sanitizer-before-1.1.0-xss-via-animatetransform-on-safari | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| darylldoyle svg-sanitizer | <= 1.0.0 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 3, 2026 | New CVE Received | [email protected] |
Volerion