CVE-2019-18857
mediumpriority · track · 30EPSS 0.010 · 64 %ileEUUSEPSS · scored 2026-10-28
darylldoyle svg-sanitizer before 0.12.0 mishandles script and data values in attributes, as demonstrated by unexpected whitespace such as in the javascript	:alert substring.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- svg-sanitizer project svg-sanitizer< 0.12.0nvdUScpe:2.3:a:svg-sanitizer_project:svg-sanitizer:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-gf8j-v8x5-h9qpXSS in enshrined/svg-sanitize due to mishandled script and data values in attributes2020-01-08ghsa · osvUS
enshrined/svg-sanitize before 0.12.0 mishandles script and data values in attributes, as demonstrated by unexpected whitespace such as in the javascript	:alert substring.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/darylldoyle/svg-sanitizer/commit/51ca4b713f3706d6b27769c6296bbc0c28a5bbd0cnnvd
- https://github.com/darylldoyle/svg-sanitizer/compare/0.11.0...0.12.0cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-18857cnnvd
- https://github.com/darylldoyle/svg-sanitizer/commit/51ca4b713f3706d6b27769c6296bbc0c28a5bbd0enisa_euvd
- https://github.com/darylldoyle/svg-sanitizer/compare/0.11.0...0.12.0enisa_euvd
- https://github.com/darylldoyle/svg-sanitizer/commit/51ca4b713f3706d6b27769c6296bbc0c28a5bbd0PatchThird Party Advisorynvd
- https://github.com/darylldoyle/svg-sanitizer/compare/0.11.0...0.12.0Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan