CVE-2020-26870
MEDIUM6.1EPSS 0.42%Cross-site Scripting in dompurify
Published: 12/18/2020Modified: 11/8/2023
Also known as:GHSA-63q7-h895-m982
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.
Affected packages (1)
- npm/dompurifyfrom 0, < 2.0.17
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-26870
- PATCHhttps://github.com/cure53/DOMPurify
- WEBhttps://github.com/cure53/DOMPurify/commit/02724b8eb048dd219d6725b05c3000936f11d62d
- WEBhttps://github.com/cure53/DOMPurify/compare/2.0.16...2.0.17
- WEBhttps://lists.debian.org/debian-lts-announce/2020/10/msg00029.html
- WEBhttps://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-26870
- WEBhttps://research.securitum.com/mutation-xss-via-mathml-mutation-dompurify-2-0-17-bypass
- WEBhttps://snyk.io/vuln/SNYK-JS-DOMPURIFY-1016634
- WEBhttps://www.oracle.com//security-alerts/cpujul2021.html