XSS in Cure53 Dompurify
CVE-2026-116804
DOMPurify from 3.4.4 before 3.4.17 contains a SAFE_FOR_TEMPLATES bypass that lets attackers preserve template expressions in attached shadow roots when using RETURN_DOM, RETURN_DOM_FRAGMENT, or IN_PLACE modes. Attackers can split expressions across text nodes separated by disallowed elements, which merge after removal and are evaluated by downstream template engines for cross-site scripting.
Vulnerability class: XSS (Cross-Site Scripting)
Published .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/cure53/DOMPurify/security/advisories/GHSA-cg2g-xh64-v4q7 (vendor-advisory)
- www.vulncheck.com/advisories/dompurify-from-3.4.4-before-3.4.17-safe-for-templa… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-116804?
- CVE-2026-116804 is a medium-severity vulnerability in Cure53 Dompurify, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-10-27.
- How severe is CVE-2026-116804?
- Medium severity. CVSS v3 base score is 6.1 out of 10.