CVE-2026-116804

MEDIUM CVSS 4.0: 5.1 EPSS 0.25%
Updated Oct 27, 2026
DOMPurify
Parameter Value
CVSS 5.1 (MEDIUM)
Affected Versions before 3.4.17
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor DOMPurify
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0