Vulnerability · Published Jul 14, 2026 · Assigned by GitHub_M
CVE-2026-47423DOMPurify XSS via `selectedcontent` re-clone
High 8.2
In plain English
A high-severity cross-site scripting in DOMPurify from cure53. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. In 3.4.4, DOMPurify allowed selectedcontent by default, allowing browsers to re-clone an XSS payload after sanitization so that unsanitized markup inside <selectedcontent> is returned. This issue is fixed in version 3.4.5.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-dompurify | no fix listed | DEBIAN-CVE-2026-47423 |
| Debian:13 | node-dompurify | no fix listed | DEBIAN-CVE-2026-47423 |
| Debian:14 | node-dompurify | 3.4.5+dfsg-1 | DEBIAN-CVE-2026-47423 |
| Ubuntu:22.04:LTS | node-dompurify | no fix listed | UBUNTU-CVE-2026-47423 |
| Ubuntu:24.04:LTS | node-dompurify | no fix listed | UBUNTU-CVE-2026-47423 |
| Ubuntu:26.04:LTS | node-dompurify | no fix listed | UBUNTU-CVE-2026-47423 |
| Ubuntu:26.10 | node-dompurify | no fix listed | UBUNTU-CVE-2026-47423 |
| npm | dompurify | 3.4.5 | GHSA-87xg-pxx2-7hvx |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-87xg-pxx2-7hvx x_refsource_CONFIRM
- https://github.com/cure53/DOMPurify/commit/011b0c78f2a0f57ee54f5fcccb697a46ca6e63ea x_refsource_MISC
- https://github.com/cure53/DOMPurify/releases/tag/3.4.5 x_refsource_MISC