GHSA-q546-85r6-f39q: svg-sanitizer before 1.1.0 XSS via animateTransform on Safari

Published Nov 3, 2026
·
Updated

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.

Event History

Nov 3, 2026
CVE Published
via OSV·02:28 PM
Data Sourced
via OSV·02:28 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using svg-sanitizer versions before 1.1.0 that accept attacker-controlled SVG uploads are exposed, particularly where those SVGs may later be viewed by Safari users.

2

What must an attacker do to trigger exploitation?

An attacker must upload a crafted SVG containing a javascript: URL in an animateTransform values attribute and target the href attribute. The Safari user must click the resulting link for JavaScript to execute.

3

Is user interaction required?

Yes. The affected Safari user must click the link in the crafted SVG.

4

What version resolves the vulnerability?

Upgrade svg-sanitizer to version 1.1.0 or later. The issue affects versions before 1.1.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203