{"vuln_id":"CVE-2026-65904","aliases":["GHSA-4w3q-35jp-p934"],"description":"DOMPurify before 3.4.4 fails to sanitize DOM elements passed via IN_PLACE mode when the element originates from a different window/realm (e.g., an iframe's contentDocument). A cross-realm instanceof check in the private _isNode() function returns false for foreign-realm nodes, causing DOMPurify to stringify the element (yielding '[object HTMLDivElement]'), silently reset IN_PLACE to false, and return the unsanitized element unchanged with any XSS payloads intact.","published_at":"2026-07-23T14:18:06.063000Z","modified_at":"2026-11-20T15:17:55.573000Z","first_seen_at":"2026-11-21T19:15:46.362873Z","severity":"low","severity_source":"nvd","cvss_score":2.3,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-754"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00266,"epss_percentile":0.18644,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-65904"},"matched_alias":null,"items":[{"id":3272,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-65904: DOMPurify before 3.4.4 fails to sanitize DOM elements passed via IN_PLACE mode when the element originates from a different window/realm (e.g., an iframe's con…","summary":"DOMPurify before 3.4.4 fails to sanitize DOM elements passed via IN_PLACE mode when the element originates from a different window/realm (e.g., an iframe's contentDocument). A cross-realm instanceof check in the private _isNode() function returns false for foreign-realm nodes, causing DOMPurify to stringify the element (yielding '[object HTMLDivElement]'), silently reset IN_PLACE to false, and return the unsanitized element unchanged with any XSS payloads intact.\n\nReferences:\nhttps://github.com/cure53/DOMPurify/security/advisories/GHSA-4w3q-35jp-p934\nhttps://www.vulncheck.com/advisories/dompurify-before-cross-site-scripting-via-in-place-mode\nhttps://github.com/cure53/DOMPurify/security/advisories/GHSA-4w3q-35jp-p934","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65904","published_at":"2026-07-23T14:18:06.063000Z","updated_at":"2026-11-20T15:17:55.573000Z","fetched_at":"2026-11-21T19:15:31.478862Z","severity":"low","cvss_score":2.3,"epss":0.00266,"is_kev":false,"has_exploit":true,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-65904","vuln_ids":["CVE-2026-65904","GHSA-4W3Q-35JP-P934"],"tags":["CWE-754"],"cluster_id":3362,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3272","html":"https://vulnwatch.ve1ve2.com/item/3272"}}]}