CVE-2020-26870
Cross-site Scripting in dompurify
6.1
MEDIUM
CVSS 3.1
EPSS 0.42%
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.
How to fix CVE-2020-26870
To remediate CVE-2020-26870, upgrade the affected package to a fixed version below.
- npm/dompurify—upgrade to 2.0.17 or later
Is CVE-2020-26870 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 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 |