Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-cg2g-xh64-v4q7
- https://www.vulncheck.com/advisories/dompurify-from-3.4.4-before-3.4.17-safe-for
FAQ
What is CVE-2026-116804?
CVE-2026-116804 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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_PLA...
How severe is CVE-2026-116804?
CVE-2026-116804 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-116804?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.