CVE-2026-126111
Code execution through XSLT extension functions in the Velocity XSLT tool
Overview
Missing secure processing in the XSLT transformer of the Velocity $xslttool view tool in dotCMS allows a back-end user who can author Velocity code that is allowed to call the tool (the Scripting Developer role, with scripting enabled through ENABLE_SCRIPTING) to call Java methods from an XSLT stylesheet and so execute arbitrary code on the server as the dotCMS service user. Whether the code runs depends on the Java runtime's default for XSLT extension functions: it is exploitable with a default configuration on releases that run on Java 21 or earlier, which includes every 25.07.10 LTS release and mainline releases through 26.06.02-01. Mainline releases 26.06.04-01 through 26.10.29-01 run on Java 25, which blocks extension functions by default, and are exploitable only when the JVM is started with extension functions enabled. Fixed in 26.11.02-01 and later: the tool's XSLT transformer now always enables secure processing, which disables extension functions regardless of the Java version.
Severity
| Score | Severity | Version | Technologies Affected |
|---|---|---|---|
| 9.0 | CRITICAL | 4.0dotCMS (CNA) | dotCMS |
Details
- CVE ID
- CVE-2026-126111
- Status
- Received
- Assigner (CNA)
- dotCMS
- Published
- Dec 4, 2026
- Last modified
- Dec 4, 2026, 9:17 PM UTC
- Weaknesses
- CWE-94 · Improper Control of Generation of Code ('Code Injection') · OWASP A03:2021 Injection
Affected Products
As published by the CNA in the CVE record.
dotCMSdotCMS2 version ranges
- before 26.11.02-01
- 25.07.10 before 25.07.10_lts_v28