Input validation error in DOMPurify - #VU132385

 

Input validation error in DOMPurify - #VU132385

Published: May 27, 2026


Vulnerability identifier: #VU132385
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Cure53
Affected software:
DOMPurify

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary script code in the context of the application.

The vulnerability exists due to improper input validation in the IN_PLACE sanitization mode when processing attacker-supplied DOM objects with attacker-controlled nodeName values on live non-form nodes. A remote attacker can supply a crafted DOM object to retain script-capable content and execute arbitrary script code in the context of the application.

The issue involves script retention on live non-form nodes.


Remediation

Install security update from vendor's website.

Sources