{"id":"CVE-2026-49458","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-49458","generatedAt":"2026-10-28T08:10:14.477Z","title":"DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG.","description":"DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(node, { IN_PLACE: true }) accepted same-origin foreign-realm DOM nodes while follow-on checks used parent-realm constructors, causing instanceof checks for forms, named node maps, document fragments, and elements to fail and skip clobber, template-content, and shadow-DOM sanitization branches so executable markup could survive. This issue is fixed in version 3.4.6.","published":"2026-07-14T21:17:02.000Z","lastModified":"2026-10-24T21:10:00.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79","CWE-501","CWE-693"],"affected":["cure53/dompurify"],"epss":{"score":0.00404,"percentile":0.34504,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.40%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/cure53/DOMPurify/commit/bb7739e5bccec7e1ab3dae3f3e42d02db3acaaae","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/cure53/DOMPurify/releases/tag/3.4.6","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8","tags":["Exploit","Mitigation","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8","tags":["Exploit","Mitigation","Vendor Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-49458","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}