GHSA-94x8-pw3c-6qcq: svg-sanitizer 1.0.0 before 1.1.0 ReDoS and Fail-Open via image-set CSS Stripping

Published Nov 3, 2026
·
Updated

darylldoyle svg-sanitizer from 1.0.0 before 1.1.0 contains a regular expression denial of service vulnerability in the image-set pattern of stripRemoteCssTokens() when removeRemoteReferences is enabled. Attackers can submit SVGs with many unclosed image-set tokens to exhaust CPU, or trigger PCRE limits causing sanitize() to throw a TypeError and leave unsanitized content.

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

Which deployments are affected?

svg-sanitizer versions from 1.0.0 before 1.1.0 are affected when removeRemoteReferences is enabled.

2

What does an attacker need to exploit this issue?

An attacker needs to be able to submit an SVG containing many unclosed image-set tokens. No authentication or user interaction is indicated by the provided severity vector.

3

What is the practical impact of a failed sanitization?

Malformed input can exhaust CPU through regular-expression processing. It can also trigger PCRE limits, causing sanitize() to throw a TypeError and leave content unsanitized.

4

What version should be used to address the issue?

Upgrade to svg-sanitizer 1.1.0 or later.

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