Advisory

GHSA-5p28-63mc-cgr9

Also known as: None

Summary

Cross-Site Scripting bypass in html-purify

Details

All versions of html-purify are vulnerable to cross-site scripting. The data attribute inside of object tags is not properly sanitized and allows javascript URIs leading to code execution.

No fix is currently available. Consider using an alternative package until a fix is made available.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-12-04 20:04 UTC
Modified
2020-12-04 20:02 UTC

Affected packages and fixes

html-purify

npm · All systems

Affected

  • introduced 0, last affected 1.1.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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