原始 OSV JSON{
"id": "GHSA-63q7-h895-m982",
"aliases": [
"CVE-2020-26870"
],
"details": "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.",
"summary": "Cross-site Scripting in dompurify",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.17"
}
]
}
],
"package": {
"name": "dompurify",
"ecosystem": "npm"
}
}
],
"modified": "2022-04-28T17:58:51Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"published": "2020-12-18T22:51:40Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-26870",
"type": "ADVISORY"
},
{
"url": "https://github.com/cure53/DOMPurify/commit/02724b8eb048dd219d6725b05c3000936f11d62d",
"type": "WEB"
},
{
"url": "https://github.com/cure53/DOMPurify",
"type": "PACKAGE"
},
{
"url": "https://github.com/cure53/DOMPurify/compare/2.0.16...2.0.17",
"type": "WEB"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2020/10/msg00029.html",
"type": "WEB"
},
{
"url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-26870",
"type": "WEB"
},
{
"url": "https://research.securitum.com/mutation-xss-via-mathml-mutation-dompurify-2-0-17-bypass",
"type": "WEB"
},
{
"url": "https://snyk.io/vuln/SNYK-JS-DOMPURIFY-1016634",
"type": "WEB"
},
{
"url": "https://www.oracle.com//security-alerts/cpujul2021.html",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2020-10-07T16:15:00Z",
"github_reviewed_at": "2020-12-18T22:51:27Z"
}
}