{"id":"CVE-2020-26870","aliases":["CVE-2020-26870","GHSA-63q7-h895-m982"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting in dompurify","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Cure53 DOMPurify versiones anteriores a 2.0.17, permite una mutación de XSS.&#xa0;Esto ocurre porque un viaje de ida y vuelta de análisis serializado no necesariamente devuelve el árbol DOM original, y un espacio de nombres puede cambiar de HTML a MathML, como es demostrado al anidar los elementos FORM","source":"nvd"}],"published":"2020-10-07T15:50:09.000Z","modified":"2026-06-17T03:08:26.847Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.17"}],"ecosystem":"npm","package":"dompurify","purl":"pkg:npm/dompurify","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.0.17"}],"vendor":"cure53","product":"dompurify","cpe":"cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"15.9"}],"vendor":"microsoft","product":"visual_studio_2017","cpe":"cpe:2.3:a:microsoft:visual_studio_2017:15.9:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"16.0"},{"status":"affected","version":"16.4"},{"status":"affected","version":"16.7"},{"status":"affected","version":"16.8"}],"vendor":"microsoft","product":"visual_studio_2019","cpe":"cpe:2.3:a:microsoft:visual_studio_2019:16.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"21.1.0.00.01"}],"vendor":"oracle","product":"application_express","cpe":"cpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://research.securitum.com/mutation-xss-via-mathml-mutation-dompurify-2-0-17-bypass/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cure53/DOMPurify/commit/02724b8eb048dd219d6725b05c3000936f11d62d","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cure53/DOMPurify/compare/2.0.16...2.0.17","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/10/msg00029.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-26870","tags":["patch","vendor-advisory","web","x-refsource-ms","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26870","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/cure53/DOMPurify","tags":["package"],"sources":["ghsa"]},{"url":"https://research.securitum.com/mutation-xss-via-mathml-mutation-dompurify-2-0-17-bypass","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-DOMPURIFY-1016634","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-26870","url":"https://www.cve.org/CVERecord?id=CVE-2020-26870","licence":"CVE Terms of Use","modified":"2024-08-04T16:03:22.865Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-63q7-h895-m982","url":"https://github.com/advisories/GHSA-63q7-h895-m982","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:20.096Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-26870","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26870","licence":"Public domain","modified":"2026-06-17T03:08:26.847Z"}],"updatedAt":"2026-11-25T22:57:55.075Z","epss":{"score":0.04881,"percentile":0.92256,"date":"2026-12-01T12:00:22.000Z"}}