MEDIUM 6.1 npm

Cross-site Scripting in dompurify

GHSA-63q7-h895-m982 · CVE-2020-26870

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes