CVE-2026-126104: Stored XSS in the legacy container delete dialog
Improper neutralization of input in the legacy Containers portlet's delete dependency check (the ContainerAjax.checkDependencies DWR method) in dotCMS versions through 26.10.29-01, including the 25.07.10 LTS line, allows an authenticated back-end user who can edit the title of a single container or template to store markup that runs as script in the browser session of an administrator or other user who later tries to delete that container. The dependency message was built from the raw container title, template title and site name and inserted into the page as HTML. The script then runs with the victim's rights.
Fixed in 26.11.02-01 and later. The DWR method has been removed, the legacy Containers portlet is retired, and the container delete flow now looks up dependent templates through a REST endpoint that returns them as data and displays them as text.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 26.11.02-01 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.07.10 LTS v28
Event History
Frequently Asked Questions
Which users can exploit this issue, and who is at risk from the stored script?
An authenticated back-end user who can edit the title of one container or template can introduce the malicious markup. It executes in the browser of an administrator or other user who later attempts to delete the affected container, with that victim's rights.
Is the vulnerable delete path still present after upgrading?
No. In 26.11.02-01 and later, the DWR method was removed, the legacy Containers portlet was retired, and dependent templates are retrieved through a REST endpoint and displayed as text.
What can be done before patching?
Limit container and template title editing to trusted back-end users, and avoid deleting containers whose titles or dependent template titles may be untrusted. The vulnerable dependency message also included the site name, so treat that displayed data as potentially unsafe in the legacy delete dialog.
How can administrators identify potentially affected content?
Review titles of containers and templates that may be involved in container deletion for markup or script-like content. The vulnerable dialog inserted raw container titles, template titles, and site names into HTML.