CVE-2020-26870 – dompurify
Package
Manager: npm
Name: dompurify
Vulnerable Version: >=0 <2.0.17
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
EPSS: 0.00196 pctl0.41904
Details
Cross-site Scripting in dompurify 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.
Metadata
Created: 2020-12-18T22:51:40Z
Modified: 2022-04-28T17:58:51Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/12/GHSA-63q7-h895-m982/GHSA-63q7-h895-m982.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-63q7-h895-m982
Finding: F008
Auto approve: 1