Input validation error in DOMPurify - #VU132385

 

Input validation error in DOMPurify - #VU132385

Published: May 27, 2026


Vulnerability identifier: #VU132385
CSH Severity: Medium
CVSS v4: 5.1 [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]
CVE-ID: N/A
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

DOMPurify

Remediation

Install security update from vendor's website.

DOMPurify - update to 3.4.7

External References

Related Security Bulletins