p PatchFirst

CVE-2026-116803

CVE-2026-116803 · DOMPurify before 3.4.17 DOM XSS via IN_PLACE Hook-Detached Subtrees

This page contains facts from public vulnerability sources. Check the original advisory before updating.

DOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to keep event handlers armed when an IN_PLACE hook removes a parent or sibling node. Attacker markup in detached subtrees is never walked or neutralized, so handlers like img onerror fire after sanitize() returns, causing DOM XSS.

CVSS 5.1 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • dompurify

    Versions
    • ≥ 0, < 3.4.17: Affected (semver)
    • 3.4.17: Not affected (semver)

    Update to 3.4.17

  • dompurify npm

    Affected ranges
    • SEMVER: < 3.4.17

    Update to 3.4.17

Original sources

Check your server →