DOMPurify before 2.0.17 Vulnerability: Mutation XSS via Namespace Change

DOMPurify before 2.0.17 Vulnerability: Mutation XSS via Namespace Change

CVE-2020-26870 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Learn more about our Web Application Penetration Testing UK.