CVE-2026-116804

GHSA-cg2g-xh64-v4q7 · published 22 Oct 2026 · updated 19 Nov 2026

DOMPurify from 3.4.4 before 3.4.17 SAFE_FOR_TEMPLATES Bypass via Shadow Root Content

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.4.17 and dompurify 3.4.17.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cure53>=3.4.4 <3.4.173.4.17
npm: dompurify>=3.4.4 <3.4.17, >=3.4.4 <=3.4.163.4.17

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in dompurify (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-116804 severity on Zeptric[![CVE-2026-116804](https://zeptric.io/badge/cve/CVE-2026-116804.svg)](https://zeptric.io/cve/CVE-2026-116804)