freenode

← CVE tracker

CVE-2026-120092

Folder scripts saved by non-scripting users run for anonymous visitors

Severity
medium CVSS 5.3 (v4.0)
Affects
dotCMS
Weakness
CWE-862 Missing Authorization
Published
4 December 2026 by dotCMS
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.