CVE-2026-120106: Stored XSS in the legacy content preview popup
Stored cross-site scripting in the legacy content preview popup (viewcontentletpopupinc.jsp, opened from the legacy workflow task page) in dotCMS through 26.10.26-02 allows a back-end user who can edit a contentlet to place markup in its title, a WYSIWYG field or other field values that then runs as script in the browser session of any back-end user who previews that content, potentially an administrator. Exploitation requires a back-end account with write access to the content and the victim opening the preview. Fixed in 26.10.28-02 and later: every value shown in the preview is now encoded for the HTML, attribute or JavaScript context it is written into.
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.10.28-02
Event History
Frequently Asked Questions
Who is exposed to this issue?
Back-end dotCMS users who open the legacy content preview popup for content they did not create are exposed. An administrator may be affected if they preview content containing attacker-supplied field values.
What access does an attacker need to exploit it?
The attacker needs a back-end dotCMS account with write access to a contentlet. They must be able to place markup in the contentlet title, a WYSIWYG field, or another field value, and a victim must open that content's preview.
Which versions are affected and which versions contain the fix?
dotCMS through 26.10.26-02 is affected. The issue is fixed in 26.10.28-02 and later.
What can be done if upgrading is not immediately possible?
Limit write access to contentlets to trusted back-end users and avoid using the legacy content preview popup for content that may contain untrusted field values. Treat previews of content edited by other users as potentially unsafe until the fix is installed.