CVE-2026-65904
Aliases:UBUNTU-CVE-2026-65904DEBIAN-CVE-2026-65904
Advisory lineage Upstream: 0 Downstream: 1
Downstream
Analyzed
Published: 23 Jul 2026, 13:16
Last modified:24 Jul 2026, 21:35
Vulnerability Summary
Overall Risk (default)
medium
29/100 CVSS Score
4.7 MEDIUM
v3.1 (cve.org)
EPSS Score
0.21% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
23 Jul 2026, 13:16
Published
Vulnerability first disclosed
24 Jul 2026, 21:35
Last Modified
Vulnerability information updated
Description
DOMPurify through 3.3.3 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.
CVSS Metrics
- v4.0•LOW•Score: 2.3CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- v4.0•LOW•Score: 2.3CVSS: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
- v3.1•MEDIUM•Score: 4.7CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Trends
Current EPSS score: 0.21%• Percentile: 11%
Techniques & Countermeasures
- CWE-754•Improper Check for Unusual or Exceptional Conditions
The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.
Affected Systems
- cure53•dompurify
≤ 3.3.3 | < 3.4.4
- debian•node-dompurify
all | all | < 3.4.5+dfsg-1
- ubuntu•node-dompurify
all | all | all
References (5)
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-4w3q-35jp-p934
- https://www.vulncheck.com/advisories/dompurify-before-cross-site-scripting-via-in-place-mode
- https://ubuntu.com/security/CVE-2026-65904
- https://www.cve.org/CVERecord?id=CVE-2026-65904
- https://security-tracker.debian.org/tracker/CVE-2026-65904