All CVEs / Svg-sanitizer Project
CVE-2019-10772Svg-sanitizer Project Svg-sanitizer
Medium 6.1 No auth needed
Follow: this CVE · Svg-sanitizer Project · Svg-sanitizer Project Svg-sanitizer We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 56
- Auth required
- No
- Published
- Dec 11, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Svg-sanitizer.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | enshrined/svg-sanitize |
< 0.13.1 |
0.13.1 |
composer require "enshrined/svg-sanitize:^0.13.1" |
Per OSV / GitHub Advisories (GHSA-8rc5-hx3v-2jg7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| svg-sanitizer_project | svg-sanitizer | < 0.13.1 |
Official sources
References
Links published by the sources. Open them with care.
- snyk.io Exploit Third Party Advisory