CVE-2026-121989: Stored XSS in the legacy Content Search and Query Tool pages
Stored cross-site scripting in the legacy Content Search (ES Search) and Query Tool developer pages in dotCMS through 26.10.28-03. Search result titles and the raw search response were printed without HTML encoding. A low-privileged back-end user who can create or edit content could store markup in a title or text field that runs in the session of an administrator or developer who later runs a search returning that content. Fixed in 26.10.29-01 and later, where the legacy pages were removed; the current Content Search and Query Tool portlets are not affected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
dotCMSto a version that resolves this vulnerability.Fixed in 26.10.29-01 - Upgrade
Upgrade
dotCMSto a version that resolves this vulnerability.Fixed in 25.07.10 LTS v28
Event History
Frequently Asked Questions
Which users and workflows are exposed to this issue?
The issue affects administrators or developers who use the legacy Content Search (ES Search) or Query Tool pages and run a search that returns attacker-controlled content. The current Content Search and Query Tool portlets are not affected.
What access does an attacker need to exploit it?
An attacker needs low-privileged back-end access with permission to create or edit content. They can place markup in a content title or text field and rely on a privileged user later searching for that content through an affected legacy page.
Are default or current search tools affected?
Only the legacy Content Search and Query Tool developer pages are identified as affected. The current Content Search and Query Tool portlets are explicitly not affected.
What is the remediation?
Upgrade to dotCMS 26.10.29-01 or later. In those versions, the affected legacy pages were removed.