GHSA-3vh3-jf65-656w: svg-sanitizer 0.5.0 before 1.1.0 Incomplete url() Filtering in SVG Attributes

Published Nov 3, 2026
·
Updated

svg-sanitizer from 0.5.0 before 1.1.0 contains an incomplete filtering vulnerability that allows attackers to bypass remote URL removal by using CSS escape sequences inside url() in SVG presentation attributes. Attackers can supply SVG files with attributes like fill containing escaped slashes that browsers resolve to remote URLs, triggering external requests and enabling data exfiltration.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade svg-sanitizer to a version that resolves this vulnerability.

    Fixed in 1.1.0

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 from 0.5.0 before 1.1.0 to sanitize attacker-supplied SVG files are exposed, particularly where the sanitized SVG is later rendered by a browser.

2

What does an attacker need to exploit it?

An attacker needs to supply a crafted SVG containing a presentation attribute such as fill with a url() value that uses CSS escape sequences for slashes. No authentication is required, but the crafted SVG must be processed by a vulnerable sanitizer and rendered in a browser.

3

What is the impact of successful exploitation?

Browsers can resolve the escaped value as a remote URL and make an external request. This can bypass intended remote-URL removal and enable data exfiltration through the resulting request.

4

How can this be remediated?

Upgrade svg-sanitizer to version 1.1.0 or later. The affected range is 0.5.0 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