Advisory

GHSA-gf8j-v8x5-h9qp

Also known as: CVE-2019-18857

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-01-08 17:15 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

enshrined/svg-sanitize

Packagist · All systems

Affected

  • introduced 0, fixed 0.12.0 (ecosystem)

Fixed versions

0.12.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences