CVE-2026-65904
published low CVSS 4.0 · 2.3DOMPurify before 3.4.4 Cross-Site Scripting via IN_PLACE mode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cure53 | — | DOMPurify0 to < 3.4.4 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.7 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cure53 | DOMPurify | 0 to < 3.4.4 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-754 Improper Check for Unusual or Exceptional Conditions
References
2- GitHub Security Advisory (GHSA-4w3q-35jp-p934) https://github.com/cure53/DOMPurify/security/advisories/GHSA-4w3q-35jp-p934
- VulnCheck Advisory: DOMPurify before 3.4.4 Cross-Site Scripting via IN_PLACE mode https://www.vulncheck.com/advisories/dompurify-before-cross-site-scripting-via-in-place-mode
Provider assertions
2VulnCheck · cna
DOMPurify before 3.4.4 Cross-Site Scripting via IN_PLACE mode
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f0e90876c9a1544ecfb74fa49acc5265bf8f987eed103b265449d587376971a6
- Ingested
- 20 Nov 2026, 14:32:32 UTC
- Source record
- Official CVE record