CVE-2026-120095: Stored XSS in the page template selector via template titles

Published Dec 4, 2026
·
Updated

Improper neutralization of the template title in the template selector label returned by the Templates REST API (/api/v1/templates) in dotCMS versions before 26.10.23-01 allows an authenticated backend user with permission to create or edit templates to store HTML that runs as script in the browser session of an administrator or other user who later opens the page template selector. Fixed in 26.10.23-01 and later. The template title and site name are now HTML-encoded in the selector label.

Affected Software

1 affected component
dotCMS dotCMS<26.10.23-01

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.10.23-01
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 25.07.10

Event History

Dec 4, 2026
CVE Published
via MITRE·07:40 PM
Data Sourced
via MITRE·07:40 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue, and who is at risk from the stored payload?

An authenticated backend user who has permission to create or edit templates can store malicious HTML in a template title. The payload runs in the browser session of an administrator or another user who later opens the page template selector.

2

Are default template selector labels affected?

The issue is triggered by template titles supplied by a user with template creation or editing permissions. The affected selector label also includes the site name, which is HTML-encoded in the fixed release.

3

How can I determine whether an instance is vulnerable?

dotCMS versions before 26.10.23-01 are affected. Version 26.10.23-01 and later HTML-encode template titles and site names in the template selector label.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203