CVE-2026-132110: Scripting Developer check in Velocity view tools can be bypassed by template authors
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 26.11.10-02 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.07.10 LTS v29
Event History
Frequently Asked Questions
Which users can exploit this issue?
Any authenticated back-end user who can author Velocity code in templates, containers, widgets, or files can exploit it, even without the Scripting Developer role. The attacker must be able to influence the Velocity template name so their code is attributed to content last saved by a Scripting Developer.
Is the default configuration affected?
Yes. In the default configuration, an attacker can access values stored in the Velocity secrets app for the site and the System Host, and can render those values to anonymous visitors. Access to the SQL-related tools additionally depends on scripting or Velocity SQL access to the dotCMS database being enabled.
What versions contain the fix?
The issue is fixed in dotCMS 26.11.10-02 and later. Earlier versions are affected.
What can be done if updating is not immediately possible?
Limit Velocity authoring privileges for authenticated back-end users who do not need them. Also review whether scripting or Velocity SQL database access is enabled, because those settings expand the accessible restricted tools.