p PatchFirst

CVE-2026-116802

CVE-2026-116802 · DOMPurify before 3.4.17 XSS via SMIL attributeName Guard Bypass in XHTML Mode

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 bypass the SMIL attributeName=href guard when PARSER_MEDIA_TYPE is application/xhtml+xml, because transformCaseFunc does not lowercase attribute names. Attackers can submit SVG with an animate or set element using attributeName="href" and a javascript: entry in values to execute script when users click the sanitized link.

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 →