CVE-2020-26870Cure53 Dompurify
Medium 6.1 No auth needed
Follow: this CVE · Cure53 · Cure53 Dompurify We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 4.9% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Oct 7, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Dompurify.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | dompurify |
< 2.0.17 |
2.0.17 |
npm install dompurify@2.0.17 |
Per OSV / GitHub Advisories (GHSA-63q7-h895-m982). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cure53 | dompurify | < 2.0.17 |
| debian | debian_linux | 9.0 |
| microsoft | visual_studio_2017 | 15.9 |
| microsoft | visual_studio_2019 | 16.0 |
| microsoft | visual_studio_2019 | 16.4 |
| microsoft | visual_studio_2019 | 16.7 |
| microsoft | visual_studio_2019 | 16.8 |
| oracle | application_express | < 21.1.0.00.01 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- portal.msrc.microsoft.com Patch Vendor Advisory
- research.securitum.com Exploit Third Party Advisory
- www.oracle.com Patch Third Party Advisory