CVE Database›Document archive›CVE-2026-65901

CVE-2026-65901

dompurify: DOMPurify: Cross-site scripting vulnerability via attacker-controlled nodeName

Loading…

Severity

Moderate

Red Hat Product Security

6.1

CVSS 3.1

Review impact separately from score.

Published · July 23, 2026

Updated · October 27, 2026

Description

A flaw was found in DOMPurify. This cross-site scripting (XSS) vulnerability exists in IN_PLACE mode, where the software trusts attacker-controlled nodeName on live non-form nodes. A remote attacker can supply hostile live Document Object Model (DOM) objects with script children. These scripts can execute when the sanitized tree is inserted into a live document, potentially leading to information disclosure or arbitrary code execution.

Statement

This cross-site scripting (XSS) vulnerability in DOMPurify arises when the library is used with IN_PLACE: true on attacker-supplied live DOM nodes. An attacker can manipulate a script child node's nodeName to bypass sanitization, leading to arbitrary script execution when the sanitized tree is inserted into a live document. This impacts Red Hat products that process untrusted live DOM content using DOMPurify in this specific configuration.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

CVSS 3.1 · 6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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