~ / search / GHSA-gf8j-v8x5-h9qp

GHSA-gf8j-v8x5-h9qp

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

Source: GitHub Advisory Database (reviewed) High CVE-2019-18857

Packages

EcosystemPackageAffectedFixed in
Packagist enshrined/svg-sanitize < 0.12.0 0.12.0

Details

As written in the advisory (Markdown source, shown as plain text).

enshrined/svg-sanitize before 0.12.0 mishandles script and data values in attributes, as demonstrated by unexpected whitespace such as in the javascript&#9;:alert substring.

References

External links from the advisory. They lead to third-party sites.