CVE Catalog

CVE-2026-109344

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

8th percentile - higher than 8% of all known CVEs

Summary

DOMPurify from 3.4.13 before 3.4.16 contains a cross-site scripting vulnerability because IN_PLACE mode fails to neutralize subtrees detached by afterSanitizeElements or afterSanitizeAttributes hooks. Attackers can supply markup with on* handlers inside a wrapper removed by such hooks, leaving handlers armed on the live DOM to execute script in the victim origin.

Risk Assessment

The risk is the execution of malicious scripts in the victim's browser context, which can lead to session hijacking, account takeover, or malware propagation in applications using DOMPurify.

Recommendation

Upgrade DOMPurify to version 3.4.16 or later, which fixes this vulnerability. Also avoid using IN_PLACE mode and thoroughly test sanitization hooks.

Other vulnerabilities in DOMPurify

See all
Original NVD description (English source)

DOMPurify from 3.4.13 before 3.4.16 contains a cross-site scripting vulnerability because IN_PLACE mode fails to neutralize subtrees detached by afterSanitizeElements or afterSanitizeAttributes hooks. Attackers can supply markup with on* handlers inside a wrapper removed by such hooks, leaving handlers armed on the live DOM to execute script in the victim origin.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS