CVE-2026-116802

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

Published Oct 26, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

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.

Affected Systems

This flaw affects all installations of DOMPurify from the cure53 vendor that use a version earlier than 3.4.17. There is no further version granularity provided; any pre-3.4.17 build is potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate impact. While the EPSS score is not available, the issue is not listed in the CISA KEV catalog, suggesting limited public exploitation. The attack requires that the application processes user supplied SVG via DOMPurify in XHTML mode, meaning an attacker can achieve XSS by submitting crafted SVG content that bypasses the attribute guard. The resulting script execution can lead to theft of session data, defacement, or further lateral movement, depending on the context in which sanitized content is rendered.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to DOMPurify version 3.4.17 or later, which ensures attribute names are lowercased and the SMIL guard is enforced.
  • Reconfigure the application to avoid using the application/xhtml+xml parser media type if XHTML mode is unnecessary, or set DOMPurify to a stricter configuration that disallows SMIL elements.
  • If an upgrade cannot be performed immediately, restrict the use of SVG or disable SMIL support by explicitly whitelisting only safe elements and attributes in DOMPurify’s configuration.

Generated by OpenCVE AI on October 27, 2026 at 08:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title DOMPurify before 3.4.17 XSS via SMIL attributeName Guard Bypass in XHTML Mode
First Time appeared Cure53
Cure53 dompurify
Weaknesses CWE-79
CPEs cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*
Vendors & Products Cure53
Cure53 dompurify
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 5, 2026, 5:01 PM
Reserved
Oct 26, 2026, 10:13 PM
Status
Awaiting Analysis
Published
Oct 27, 2026, 12:17 AM
Modified
Nov 5, 2026, 5:17 PM
Severity
Moderate
Public date
Oct 26, 2026, 11:05 PM