Cross-site Scripting in dompurify
Moderate severity
GitHub Reviewed
Published
Dec 18, 2020
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Oct 7, 2020
Reviewed
Dec 18, 2020
Published to the GitHub Advisory Database
Dec 18, 2020
Last updated
Feb 1, 2023
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