darylldoyle/svg-sanitizer · Security

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

GHSA ID
GHSA-gf8j-v8x5-h9qp
CVE ID
CVE-2019-18857
Severity
high
Published
Updated
CVSS
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v3
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

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.

CWEs

References