CVE-2025-11165
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA 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).
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceAuthenticated users with scripting privileges can bypass SecureUberspectorImpl in dotCMS's Velocity engine by dynamically modifying runtime configuration and reinitializing the Uberspect, removing class/package restrictions. This enables access to java.lang.Runtime and arbitrary command execution as the application user.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 24.12.27>= 25.01.07, < 25.07.10CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify DotCMS versionCheck the installed DotCMS version (typically found in the admin panel under System > Information, or check the pom.xml/build.properties in the installation directory)Affected if The version is less than 24.12.27, or greater than or equal to 25.01.07 but less than 25.07.10
-
Verify scripting user accountsReview user accounts in the DotCMS admin panel (Users section) and check which accounts have Velocity script or scripting privileges enabledAffected if Any authenticated user account has scripting/Velocity script permissions granted
-
Confirm Uberspector configurationInspect the Velocity engine configuration files (typically velocity.properties or similar) for the Uberspector implementation settings. Check if SecureUberspectorImpl is the configured UberspectorAffected if SecureUberspectorImpl is in use but runtime reconfiguration of the Uberspector is not explicitly blocked
-
Check runtime modification capabilityReview whether the application allows dynamic runtime configuration changes to Velocity settings, particularly the ability to reinitialize Uberspect at runtime via scripting or API callsAffected if Runtime modification of Uberspector settings is permitted through scripting or admin APIs
You are affected if your DotCMS version falls in the vulnerable range and an authenticated user with scripting privileges exists and can modify Uberspector configuration at runtime.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped24.12.2725.07.10
Make security configuration immutable at runtime and prevent Uberspector reinitialization. Consider disabling dynamic Uberspector modifications entirely or implementing additional runtime integrity checks.
dotCMS 24.12.27 or later (24.x branch); dotCMS 25.07.10 or later (25.x branch)
- 1. Identify the currently installed dotCMS version by checking the admin dashboard or the version.properties file in the dotcms application directory.
- 2. If running a version < 24.12.27, plan an upgrade to dotCMS version 24.12.27 or later.
- 3. If running version 25.01.07 through 25.07.09, plan an upgrade to dotCMS version 25.07.10 or later.
- 4. Before upgrading in production, test the new version in a staging environment to verify compatibility with existing custom code, themes, and plugins.
- 5. Perform a full backup of the database and dotCMS application files.
- 6. Follow the official dotCMS upgrade documentation for your specific version path.
- 7. After upgrade, verify that Velocity sandbox restrictions are properly enforced by testing that restricted classes (e.g., java.lang.Runtime) cannot be accessed via Velocity templates.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation12.0 h
- Implementation24.0 h
- Testing16.0 h
- Review / QA8.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $16,896.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-11165 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-11165 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data