Skip to main content
← All vulnerabilities
CVE-2026-116802EUVD-2026-110510GHSA-G32M-CHC6-3WQFGHSA-C6GR-QVV4-5V3F

DOMPurify before 3.4.17 XSS via SMIL attributeName Guard Bypass in XHTML Mode

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.4.17
None on Exploit-DB, Metasploit or GitHub

Summary

DOMPurify, a widely used JavaScript library that sanitizes HTML to prevent cross-site scripting, is affected by this flaw when it is configured to parse content as XHTML. An attacker can craft SVG animation markup that slips past the library's filtering, so that a malicious javascript: link runs in a user's browser when they click it, potentially allowing theft of session data or actions performed on the victim's behalf.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • cure53 DOMPurify

    fixed in 3.4.17

  • dompurifynpm

    fixed in 3.4.17

References 2

GitHub · cure53/DOMPurify

vulncheck.com