Description
Improper authorization in the Scripting Developer check of the restricted Velocity view tools ($dotsecrets, $sql, $xslttool and the SQL method of $macro) in dotCMS versions before 26.11.10-02 allows any authenticated back-end user who can author Velocity code (templates, containers, widgets or files), without holding the Scripting Developer role, to run these tools as if they held it. The check identified the author of the calling code from the Velocity template name, which a template author can influence, so code saved by a non-developer could be attributed to content last saved by a Scripting Developer. On the default configuration this exposes values stored in the Velocity secrets app for the site and the System Host, and the result can be rendered to anonymous visitors. Where scripting or Velocity SQL access to the dotCMS database is enabled, it also reaches those tools. The same flawed check also prevented $xslttool and the $macro SQL method from working for legitimate Scripting Developers.
Fixed in 26.11.10-02 and later. The restricted tools now decide access from the author of the code as reported by the renderer, not from the template name, and only users holding the Scripting Developer role pass. Code assembled at render time with #evaluate or $render.eval no longer reaches these tools, and CMS Administrators without the Scripting Developer role no longer pass the check.
Fixed in 26.11.10-02 and later. The restricted tools now decide access from the author of the code as reported by the renderer, not from the template name, and only users holding the Scripting Developer role pass. Code assembled at render time with #evaluate or $render.eval no longer reaches these tools, and CMS Administrators without the Scripting Developer role no longer pass the check.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
Vendor Solution
Upgrade to dotCMS 26.11.10-02 or later, or to 25.07.10 LTS v29 or later.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
History
Fri, 04 Dec 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Improper authorization in the Scripting Developer check of the restricted Velocity view tools ($dotsecrets, $sql, $xslttool and the SQL method of $macro) in dotCMS versions before 26.11.10-02 allows any authenticated back-end user who can author Velocity code (templates, containers, widgets or files), without holding the Scripting Developer role, to run these tools as if they held it. The check identified the author of the calling code from the Velocity template name, which a template author can influence, so code saved by a non-developer could be attributed to content last saved by a Scripting Developer. On the default configuration this exposes values stored in the Velocity secrets app for the site and the System Host, and the result can be rendered to anonymous visitors. Where scripting or Velocity SQL access to the dotCMS database is enabled, it also reaches those tools. The same flawed check also prevented $xslttool and the $macro SQL method from working for legitimate Scripting Developers. Fixed in 26.11.10-02 and later. The restricted tools now decide access from the author of the code as reported by the renderer, not from the template name, and only users holding the Scripting Developer role pass. Code assembled at render time with #evaluate or $render.eval no longer reaches these tools, and CMS Administrators without the Scripting Developer role no longer pass the check. | |
| Title | Scripting Developer check in Velocity view tools can be bypassed by template authors | |
| Weaknesses | CWE-863 | |
| References |
| |
| Metrics |
cvssV4_0
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: dotCMS
Published:
Updated: 2026-12-04T20:16:15.412Z
Reserved: 2026-11-18T11:34:21.572Z
Link: CVE-2026-132110
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses
-
CWE-863
Incorrect Authorization