All reports
Medium

Cross-site Scripting in dompurify

Affected versions

Affected versions
< 2.0.17
Fixed version
2.0.17

Exploitation

CVE-2020-26870

Probability of exploitation in the next 30 days: 4.88%

FIRST EPSS · 2026-11-21

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.

Links