Folder scripts run for anonymous visitors in dotCMS
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-862.
Summary
dotCMS versions before 26.11.02-01 and from 25.07.10 before 25.07.10_lts_v26 are affected. The file-based scripting endpoints do not check who saved a Velocity or JavaScript file in a folder, which is missing authorization (CWE-862). A backend user with content write and publish permissions, but without the Scripting Developer role, can save a script that the server runs for any unauthenticated visitor requesting that folder.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
Missing authorization in the file-based scripting endpoints /api/vtl/{folder} and /api/js/{folder} in dotCMS through 26.10.29-01 allows a backend user with ordinary content-authoring permissions (write and publish) on a folder under /application/apivtl or /application/apijs, and without the Scripting Developer role, to save a Velocity or JavaScript file that the server then executes for any unauthenticated visitor who requests that folder. The inline /api/vtl/dynamic and /api/js/dynamic endpoints require the Scripting Developer role, but the file-based endpoints did not check who wrote the file. Fixed in 26.11.02-01 and later. Folder scripts now run only when the user who last saved them holds the Scripting Developer role or is a CMS Administrator; otherwise the endpoint answers 403.
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.11.02-01; 25.07.10 to before 25.07.10_lts_v26 | 26.11.02-01, 25.07.10_lts_v26 | Patch available | CNA |
- dotCMS VendordotCMS Affected before 26.11.02-01; 25.07.10 to before 25.07.10_lts_v26 Fixed in 26.11.02-01, 25.07.10_lts_v26 Patch available CNA
Remediation
Upgrade dotCMS to 26.11.02-01 or 25.07.10_lts_v26, the fixed versions for each release line. After the fix, folder scripts run only when the user who last saved them holds the Scripting Developer role or is a CMS Administrator.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA dotCMS (dotCMS) Fixed in 26.11.02-01, 25.07.10_lts_v26
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
dotCMS 25.07.10_lts_v26, 26.11.02-01
9 records Highest priority Priority MEDIUM 7 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-104411 Account takeover via bundle user import in dotCMSPriority MEDIUM 53
- TI-2026-104413 Unsafe deserialization in dotCMS Redis cache and pub/sub providerPriority MEDIUM 49
- TI-2026-104417 Missing authorization exposes dotCMS cache, Redis and JVM endpointsPriority MEDIUM 47
Timeline
- 2026-12-04 Threatist record created from CVE-2026-120092
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