~ / search / GHSA-63q7-h895-m982

GHSA-63q7-h895-m982

Cross-site Scripting in dompurify

Source: GitHub Advisory Database (reviewed) Moderate CVE-2020-26870

Packages

EcosystemPackageAffectedFixed in
npm dompurify < 2.0.17 2.0.17

Details

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

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.

References

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