All reports
High

XSS in enshrined/svg-sanitize due to mishandled script and data values in attributes

Affected versions

Affected versions
< 0.12.0
Fixed version
0.12.0

Exploitation

CVE-2019-18857

Probability of exploitation in the next 30 days: 1.04%

FIRST EPSS · 2026-11-20

Description

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.

Links

Credits

  • ohader