CVE-2026-65904
LOW 2.3CVSS 4.0DOMPurify before 3.4.4 Cross-Site Scripting via IN_PLACE mode
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
- 23 Jul 2026
- Last modified
- 20 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Modified
- Weakness
- CWE-754
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | LOW 2.3 | 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 |
| CVE List | VulnCheck | CVSS 4.0 | LOW 2.3 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cure53 | dompurifycpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:* |
< 3.4.4 | 3.4.4 |
| CVE List | cure53 | DOMPurify | < 3.4.4 | 3.4.4 |
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-4w3q-35jp-p934 · Exploit, Third Party Advisory, vendor-advisory
- https://www.vulncheck.com/advisories/dompurify-before-cross-site-scripting-via-in-place-mode · Third Party Advisory, third-party-advisory
History
- 25 Nov 2026 20:32 UTC · CVE List: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 23 Jul 2026)