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.
Configurations

No configuration.

History

02 Nov 2026, 19:17

Type Values Removed Values Added
References () https://github.com/cure53/DOMPurify/security/advisories/GHSA-cg2g-xh64-v4q7 - () https://github.com/cure53/DOMPurify/security/advisories/GHSA-cg2g-xh64-v4q7 -

27 Oct 2026, 00:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-27 00:17

Updated : 2026-11-02 19:17


NVD link : CVE-2026-116804

Mitre link : CVE-2026-116804

CVE.ORG link : CVE-2026-116804


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')