Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.1
CVE-2019-10772: Bypassing Security Filters in svg-sanitizer
CVE-2019-10772 · published 6 years ago
Summary
A security filter in svg-sanitizer can be bypassed, allowing malicious SVG code to be injected. This affects users of svg-sanitizer before version 0.13.1. To stay secure, update to the latest version of svg-sanitizer.
What to do
- Update enshrined svg-sanitize to version 0.13.1.
- Update enshrined enshrined/svg-sanitize to version 0.13.1.
- Update svg-sanitizer_project svg-sanitizer to version 0.13.1 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| composer | enshrined | svg-sanitize |
< 0.13.1 Fix: upgrade to 0.13.1
|
| – | svg-sanitizer_project | svg-sanitizer |
< 0.13.1 cpe:2.3:a:svg-sanitizer_project:svg-sanitizer:*:*:*:*:*:*:*:* |
| Packagist | enshrined | enshrined/svg-sanitize |
< 0.13.1 Fix: upgrade to 0.13.1
|
Original advisory text
It is possible to bypass enshrined/svg-sanitize before 0.13.1 using the "xlink:href" attribute due to mishandling of the xlink namespace by the sanitizer.
It is possible to bypass enshrined/svg-sanitize before 0.13.1 using the "xlink:href" attribute due to mishandling of the xlink namespace by the sanitizer.
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published11 Dec 2019
Updated4 Nov 2026
First seen6 Mar 2026
Sources
GHSA-8rc5-hx3v-2jg7 · GHSA
CVE-2019-10772 · NVD
GHSA-8rc5-hx3v-2jg7 · OSV
CVE-2019-10772 · OSV
Track software like this
Free during beta