Stored cross-site scripting in dotCMS page template selector
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
dotCMS versions before 26.10.23-01 and from 25.07.10 before 25.07.10_lts_v26 are affected. The page template selector does not neutralize template titles returned by the Templates REST API, which is CWE-79 (improper neutralization of input during web page generation). An authenticated backend user who can create or edit templates can store HTML that runs as script in the browser of an administrator or other user who opens the selector.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dotCMS | dotCMS | before 26.10.23-01; 25.07.10 to before 25.07.10_lts_v26 | 26.10.23-01, 25.07.10_lts_v26 | Patch available | CNA |
- dotCMS VendordotCMS Affected before 26.10.23-01; 25.07.10 to before 25.07.10_lts_v26 Fixed in 26.10.23-01, 25.07.10_lts_v26 Patch available CNA
Remediation
Upgrade dotCMS to version 26.10.23-01 or 25.07.10_lts_v26, which HTML-encode the template title and site name in the selector label.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA dotCMS (dotCMS) Fixed in 26.10.23-01, 25.07.10_lts_v26
Timeline
- 2026-12-04 Threatist record created from CVE-2026-120095
References
Advisory 1
More dotCMS vulnerabilities
- TI-2022-09726 Directory traversal in dotCMS ContentResource API allows file upload KEVCVSS 3.1CRITICAL 9.8
- TI-2020-05479 dotCMS before 5.2.4 is vulnerable to directory traversal, leading to incorrect access… CVSS 3.1CRITICAL 9.8
- TI-2026-104432 Velocity sandbox escape in dotCMS lets template authors run code CVSS 4.0CRITICAL 9.4
- TI-2026-104360 Remote code execution in dotCMS through push publishing CVSS 4.0CRITICAL 9.4
- TI-2026-104356 Velocity sandbox escape in dotCMS allows command execution CVSS 4.0CRITICAL 9.4
- TI-2026-104355 RCE via WebDAV path traversal by any authenticated user CVSS 4.0CRITICAL 9.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences