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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/cure53/DOMPurify/commit/02724b8eb048dd219d6725b05c3000936f11d62dPatch, Third Party Advisory
- https://github.com/cure53/DOMPurify/compare/2.0.16...2.0.17Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/10/msg00029.htmlMailing List, Third Party Advisory
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-26870Patch, Vendor Advisory
- https://research.securitum.com/mutation-xss-via-mathml-mutation-dompurify-2-0-17-bypass/Exploit, Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlPatch, Third Party Advisory
- https://github.com/cure53/DOMPurify/commit/02724b8eb048dd219d6725b05c3000936f11d62dPatch, Third Party Advisory
- https://github.com/cure53/DOMPurify/compare/2.0.16...2.0.17Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/10/msg00029.htmlMailing List, Third Party Advisory
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-26870Patch, Vendor Advisory
- https://research.securitum.com/mutation-xss-via-mathml-mutation-dompurify-2-0-17-bypass/Exploit, Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlPatch, Third Party Advisory
Timeline
- Published
- Oct 7, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified