Cross-Site Scripting Vulnerability in DOMPurify by Cure53
CVE-2026-109344
5.1MEDIUM
What is CVE-2026-109344?
DOMPurify versions 3.4.13 to 3.4.16 are susceptible to a cross-site scripting issue. This vulnerability arises when using the IN_PLACE mode, which fails to properly sanitize elements detached through the afterSanitizeElements or afterSanitizeAttributes hooks. Attackers can exploit this flaw by injecting malicious markup containing event handlers, thus enabling executable scripts within the live DOM, posing a risk to users interacting with affected web pages.
Affected Version(s)
DOMPurify 3.4.13 < 3.4.16
DOMPurify 3.4.16
