Advisory

GHSA-63q7-h895-m982

Also known as: CVE-2020-26870

Summary

Cross-site Scripting in dompurify

Details

Cure53 DOMPurify before 2.0.17 allows mutation XSS. This occurs because a serialize-parse roundtrip does not necessarily return the original DOM tree, and a namespace can change from HTML to MathML, as demonstrated by nesting of FORM elements.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-12-18 22:51 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

dompurify

npm · All systems

Affected

  • introduced 0, fixed 2.0.17 (semver)

Fixed versions

2.0.17

Fix

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