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

 

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

Published: September 28, 2026 / Updated: October 16, 2026


Vulnerability identifier: #VU152600
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-109345
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary script.

The vulnerability exists due to improper neutralization of rawtext text content in the DOMPurify IN_PLACE return path when serializing and reparsing a force-removed rawtext root in plain HTML context. A remote attacker can provide a crafted rawtext node to execute arbitrary script.

Moving the returned node with appendChild alone does not trigger the payload.


Affected software

DOMPurify
Db2 Developer Extension

How to mitigate CVE-2026-109345

Install security update from vendor's website.

DOMPurify - update to 3.4.16
Db2 Developer Extension - update to 1.2.1

External References

Related Security Bulletins