SQL Injection in Dotcms
CVE-2025-11165
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).
Vulnerability class: SQL Injection
EPSS: 0.003 (22.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Dotcms — versions 24.12, 25.07
Weakness classification (CWE)
References
- security@dotcms.com (Vendor Advisory)
Frequently asked questions
- What is CVE-2025-11165?
- CVE-2025-11165 is a critical-severity vulnerability in Dotcms, classified under SQL Injection. CVSS score: 9.9/10. Published 2026-02-24.
- How severe is CVE-2025-11165?
- Critical severity. CVSS v3 base score is 9.9 out of 10.