CVE-2025-11165 Details
Description
A sandbox escape vulnerability exists in dotCMS’s Velocity scripting engine (VTools) that allows authenticated users with scripting privileges to bypass class and package restrictions enforced by SecureUberspectorImpl. By dynamically modifying the Velocity engine’s runtime configuration and reinitializing its Uberspect, a malicious actor can remove the introspector.restrict.classes and introspector.restrict.packages protections. Once these restrictions are cleared, the attacker can access arbitrary Java classes, including java.lang.Runtime, and execute arbitrary system commands under the privileges of the application process (e.g. dotCMS or Tomcat user).
A critical sandbox escape vulnerability has been identified in dotCMS's Velocity scripting engine (VTools). This vulnerability allows authenticated users with scripting privileges to bypass class and package restrictions imposed by SecureUberspectorImpl. By dynamically altering the Velocity engine's runtime configuration and reinitializing its Uberspect, a malicious actor can eliminate the introspector.restrict.classes and introspector.restrict.packages protections. Once these restrictions are removed, the attacker can access arbitrary Java classes, including java.lang.Runtime, and execute system commands under the application's process privileges, such as the dotCMS or Tomcat user.
Users can update to dotCMS versions LTS 25.07.10 or 24.12.27, where this vulnerability has been patched. Until then, it is recommended to disable or restrict access to the '/api/vtl/dynamic' endpoint, '$context.getVelocityEngine()' in templates, and scripting privileges for non-admin users.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://dev.dotcms.com/docs/known-security-issues?issueNumber=SI-74 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dotcms dotcms | < 24.12.27 >= 25.01.07, < 25.07.10 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 3, 2026 | Initial Analysis | [email protected] |
| Feb 24, 2026 | New CVE Received | [email protected] |