Cross-site scripting in DOMPurify - CVE-2026-49978
Published: May 27, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary script in the victim's browser.
The vulnerability exists due to cross-site scripting in template content sanitization when processing HTML containing a template element with an attached shadow root inside template.content. A remote attacker can supply crafted HTML that survives sanitization to execute arbitrary script in the victim's browser.
Exploitation occurs when the application clones the template and inserts the result into the page.
Affected software
Db2 Developer Extension
InfoSphere Optim Archive Viewer
Ansible Automation Platform
Red Hat Advanced Cluster Security for Kubernetes
How to mitigate CVE-2026-49978
Db2 Developer Extension - update to 1.2.0
InfoSphere Optim Archive Viewer - update to 11.7.0.15
Ansible Automation Platform - update to 2.2.0
Red Hat Advanced Cluster Security for Kubernetes - update to 4.11.2
External References
Related Security Bulletins
- Multiple vulnerabilities in DOMPurify
- Multiple vulnerabilities in Red Hat Advanced Cluster Security for Kubernetes 4.11
- Multiple vulnerabilities in Ansible Automation Platform 2.2 packages
- Multiple vulnerabilities in IBM Db2 Developer Extension
- Multiple vulnerabilities in IBM InfoSphere Optim Archive Viewer