CVE-2020-26870: cure53 dompurify Cross-site Scripting
CVSS: 6.1v3.1MediumModified
AliasesUBUNTU-CVE-2020-26870GHSA-63q7-h895-m982
Published 07-10-2020Last modified 04-08-2024
Vulnerability summary
CVE-2020-26870 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in cure53 dompurify. EPSS estimates a 4.88% chance of exploitation in the next 30 days, higher than 91.9% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
6.1/10
010
Medium · v3.1 (NVD)EPSS score
4.88%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 07-10-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versionsMedium 6.1Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · NpmEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Medium 4.3Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:N/I:P/A:NSourcesSingle source
EPSS trend
Probability
4.88%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
0.00 pp
From 4.88% on 18-09-2026
18-09-202618-10-2026
EPSS score4.88%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (research.securitum.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Microsoft2 products
- visual_studio_201715.9
- visual_studio_201916.0 | 16.4 | 16.7 | 16.8
Cure531 product
- dompurify< 2.0.17
Debian1 product
- debian_linuxEOL9.0
Npm1 product
- dompurify< 2.0.17
Oracle1 product
- application_express< 21.1.0.00.01
Ubuntu1 product
- dompurify.jsAll versions (No fix recorded)
6 vendors · 7 products
References
12 links- research.securitum.com/mutation-xss-via-mathml-mutation-dompurify-2-0-17-bypass/X Refsource MISCREPORTExploitThird Party Advisory
- github.com/cure53/DOMPurify/commit/02724b8eb048dd219d6725b05c3000936f11d62dX Refsource MISCREPORTWEBPatchThird Party Advisory
- lists.debian.org/debian-lts-announce/2020/10/msg00029.htmlMailing ListX Refsource MLISTWEBThird Party Advisory
- portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-26870Vendor AdvisoryX Refsource MSWEBPatch
- github.com/cure53/DOMPurifyPACKAGE