BreachSpiderVerified, not vibes

CVE-2026-65904 in Cure53 Dompurify

Medium 4.7

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 elem...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.14.7
CVSS v42.3
EPSS0.3%
EPSS percentile11th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Cure53 Dompurify < 3.4.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-65904
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Published2026-07-23
Last modified2026-11-20
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-754: CWE-754

Analysis AI-written, not human-reviewed

A medium severity vulnerability (CVE-2026-65904) affects the target system. 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 fa...

Questions

What is CVE-2026-65904?

A medium severity vulnerability (CVE-2026-65904) affects the target system. 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 fa...

What is the CVSS score for CVE-2026-65904?

CVE-2026-65904 has CVSS 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N. EPSS: 0.3%.

Is CVE-2026-65904 actively exploited?

No confirmed active exploitation of CVE-2026-65904 as of 2026-11-21.

How do I remediate CVE-2026-65904?

Apply vendor patches for CVE-2026-65904. Monitor Cure53 advisories.

What systems are affected by CVE-2026-65904?

CVE-2026-65904 affects Cure53 Dompurify.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Cure53","product":"Dompurify","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-20.