GHSA-63q7-h895-m982

Cross-site Scripting in dompurify

At a glance

Published
Updated
CVE
CVE-2020-26870
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Description

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.

Affected packages

PackageVersions
npm · dompurifyintroduced 0, fixed 2.0.17

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database