#VU126315 Improper Check for Unusual or Exceptional Conditions in DOMPurify

 

#VU126315 Improper Check for Unusual or Exceptional Conditions in DOMPurify

Published: April 16, 2026


Vulnerability identifier: #VU126315
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-754
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
DOMPurify
Software vendor:
Cure53

Description

The vulnerability allows a remote attacker to execute arbitrary script in the parent document.

The vulnerability exists due to improper check for unusual or exceptional conditions in the IN_PLACE sanitization path when sanitizing a DOM element originating from a different window or realm. A remote attacker can cause the application to sanitize a crafted cross-window DOM element with IN_PLACE enabled to execute arbitrary script in the parent document.

Only the IN_PLACE DOM node path is affected. Exploitation requires the application to pass an element from a different window object, such as a same-origin iframe or opened window, and then render that element into the main document after sanitization.


Remediation

Install security update from vendor's website.

External links