What’s Vulnerable › Vulnerabilities

CVE-2026-75838: DOMPurify before 3.4.13 Cross-Site Scripting via IN_PLACE hook

Description

DOMPurify before 3.4.13 contains a cross-site scripting vulnerability in IN_PLACE sanitization where element-removal hooks fail to neutralize detached subtrees. Attackers can supply HTML with event handlers on descendant elements that execute after sanitization completes, even though the returned root appears clean.

Affected products

How to fix

Upgrade to a fixed version: cure53 DOMPurify 3.4.13. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-75838 or the next vulnerability affects your stack