Vulnerability · Published Oct 7, 2020 · Assigned by mitre

CVE-2020-26870

Medium 6.1

In plain English

A medium-severity security flaw in the dompurify package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.9% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)4.9%top 7.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
npmdompurify2.0.17GHSA-63q7-h895-m982

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References