4.7

CVE-2026-65904: DOMPurify through 3.3.3 Cross-Site Scripting via IN_PLACE mode

Analyzed
AliasesUBUNTU-CVE-2026-65904DEBIAN-CVE-2026-65904
Published 23-07-2026Last modified 24-07-2026

Vulnerability summary

CVE-2026-65904 is a medium (CVSS 4.7) vulnerability in cure53 dompurify. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.7/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 23-07-2026
    PublishedVulnerability first disclosed.
  2. 24-07-2026
    Last modifiedVulnerability 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

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.27% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Dompurify

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Cure531 product
Debian1 product
  • node-dompurifyAll versions (No fix recorded) | < 3.4.5+dfsg-1
Ubuntu1 product
  • node-dompurifyAll versions (No fix recorded)

3 vendors · 3 products

References

5 links