Skip to main content
← All vulnerabilities
CVE-2026-109344GHSA-P98J-92PF-MC4P

DOMPurify from 3.4.13 before 3.4.16 DOM XSS via IN_PLACE afterSanitize Hooks

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.4.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • cure53 DOMPurify

    From 3.4.13 · fixed in 3.4.16

  • dompurifynpm

    From 3.4.13 · fixed in 3.4.16

References 2

GitHub · cure53/DOMPurify

vulncheck.com