Cross-site scripting in DOMPurify - CVE-2026-0540

 

Cross-site scripting in DOMPurify - CVE-2026-0540

Published: June 29, 2026


Vulnerability identifier: #VU135706
CSH Severity: Medium
CVSS v4: 5.1 [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]
CVE-ID: CVE-2026-0540
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data. The vulnerability allows attackers to bypass attribute sanitization by exploiting five missing rawtext elements (noscript, xmp, noembed, noframes, iframe) in the SAFE_FOR_XML regex.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

DOMPurify
QRadar Log Source Management App
DataPower Operations Dashboard
Db2 Developer Extension
DataStage on Cloud Pak for Data
IBM Event Endpoint Management
QRadar User Behavior Analytics
IBM Maximo Application Suite
IBM Automation Decision Services
Oracle Utilities Application Framework
Fedora
IBM Security SOAR
python-jupytext

How to mitigate CVE-2026-0540

Cybersecurity Help is currently unaware of any official solution to address this vulnerability..

DOMPurify - update to 3.3.2
QRadar Log Source Management App - update to 7.0.16
QRadar User Behavior Analytics - update to 6.0.0
DataPower Operations Dashboard - update to 1.0.24.0
Db2 Developer Extension - update to 1.2.0
DataStage on Cloud Pak for Data - update to 5.3.1 patch 7
IBM Event Endpoint Management - update to 11.8.1
python-jupytext - addressed in versions 1.19.1-4.fc42, 1.19.1-4.fc43, 1.19.1-4.fc44

External References

Related Security Bulletins