CVE-2026-65904
Fixed in a distro release EPSS <1%CVSS 4.7
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.
Products: cure53 dompurify
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | node-dompurify | no fix |
| Debian 13 | node-dompurify | no fix |
| Debian 14 | node-dompurify | 3.4.5+dfsg-1 |
| Red Hat hummingbird 1 | grafana13.1 | 0:13.1.3-0.1.1.hum1 |
| Ubuntu 22.04 LTS | node-dompurify | no fix |
| Ubuntu 24.04 LTS | node-dompurify | no fix |
| Ubuntu 26.04 LTS | node-dompurify | no fix |