CVE-2019-10772
MEDIUM 6.1CVSS 3.1Sanitizer bypass in svg-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.
- Published
- 11 Dec 2019
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-8rc5-hx3v-2jg7SNYK-PHP-ENSHRINEDSVGSANITIZE-536969
- Sources
- NVDJSONOSV GHSA-8rc5-hx3v-2jg7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | svg-sanitizer_project | svg-sanitizercpe:2.3:a:svg-sanitizer_project:svg-sanitizer:*:*:*:*:*:*:*:* |
< 0.13.1 | 0.13.1 |
| OSV | Packagist | enshrined/svg-sanitize | < 0.13.1 | 0.13.1 |
References
- https://snyk.io/vuln/SNYK-PHP-ENSHRINEDSVGSANITIZE-536969 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-10772 · ADVISORY
- https://github.com/darylldoyle/svg-sanitizer/commit/6add43e5c5649bc40e3afcb68c522720dcb336f9 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 11 Dec 2019)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 27 Feb 2020)