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 products
cure53: dompurify
References4
- github.com/cure53/DOMPurify/security/advisories/GHSA-87xg-pxx2-… ExploitVendor Advisory
- github.com/cure53/DOMPurify/security/advisories/GHSA-87xg-pxx2-… ExploitVendor Advisory
- github.com/cure53/DOMPurify/commit/011b0c78f2a0f57ee54f5fcccb69… Patch
- github.com/cure53/DOMPurify/releases/tag/3.4.5 Release Notes
Metrics
- CVSS 3.1
-
8.2
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N - EPSS — exploit probability
- 0% percentile: 36 · as of 15 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.