ADVISORIES

Vulnerability

CVE-2026-109344

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.

4 advisories report this vulnerability, across 5 ecosystems.

Advisories in npm

  • GHSA-p98j-92pf-mc4p

    DOMPurify: IN_PLACE: node-removing afterSanitize hook leaves detached subtree event handlers armed, causing DOM XSS

    Low CVE-2026-109344 npm Updated 13 October 2026

References