CVE-2026-120092: Folder scripts saved by non-scripting users run for anonymous visitors

Published Dec 4, 2026
·
Updated

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.

Affected Software

1 affected component
dotCMS dotCMS<=26.10.29-01

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade dotCMS to a version that resolves this vulnerability.

    Fixed in 26.11.02-01
  2. Upgrade

    Upgrade dotCMS 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?

A backend user with ordinary write and publish permissions on a folder under /application/apivtl or /application/apijs can exploit it. The user does not need the Scripting Developer role.

2

Are all scripting endpoints affected?

No. The issue affects file-based scripts served through /api/vtl/{folder} and /api/js/{folder}; the inline /api/vtl/dynamic and /api/js/dynamic endpoints require the Scripting Developer role.

3

What access does an attacker need for the script to execute?

After saving the script in an affected folder, the attacker only needs an unauthenticated visitor to request that folder's endpoint. The server executes the saved Velocity or JavaScript file for that visitor.

4

How can I determine whether a system is affected?

dotCMS through 26.10.29-01 is affected. Review users with write and publish permissions on folders under /application/apivtl and /application/apijs, and inspect scripts in those locations for files last saved by users who are neither Scripting Developers nor CMS Administrators.

5

What changes after applying the fix?

In 26.11.02-01 and later, folder scripts run only if the user who last saved them has the Scripting Developer role or is a CMS Administrator. Otherwise, the file-based endpoint returns HTTP 403.

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