External risk intelligence

dotCMS Velocity XSLT Injection Code Execution

CVE advisorySeverity: CRITICAL (CVSS 9.0)

CVE-2026-126111

The vulnerability requires a user to already possess a specific administrative or developer-level role (Scripting Developer) with explicit permissions to author and execute Velocity code. Since this requires authenticated access to internal application development or administrative features, it is not an internet-facing attack surface available to anonymous public users or accessible through standard default deployment configurations.

Code Injection

Halo Surface Signal: 2 out of 5 — less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A vulnerability exists in the Velocity view tool within dotCMS, specifically in its XSLT transformer. This allows authenticated users with specific scripting privileges to execute arbitrary code on the server by calling Java methods through an XSLT stylesheet. The exploitability depends on the Java runtime version and configuration, with potential impact on servers running Java 21 or earlier unless specific security settings are altered.

  • Code execution risk from internal scripting.
  • Confirms need for internal access control review.
  • Verify relevance and exposure of scripting tools.

Attack Path

How an attacker could exploit the issue

An attacker could execute arbitrary code on the server by crafting a Velocity-enabled XSLT stylesheet. This requires the attacker to first gain access to the dotCMS application with the specific "Scripting Developer" role, which allows authoring Velocity code. By embedding malicious Java calls within an XSLT stylesheet, the attacker can exploit the transformer's missing secure processing to run commands on the server.

  • Authenticated access required.
  • XSLT transformer calls Java methods.
  • Arbitrary code execution on server.

Live Threat

Current exploitation, exposure, and threat context

A back-end user with the Scripting Developer role could execute arbitrary code on the server as the dotCMS service user. This is possible when the system runs on specific Java versions or when a JVM is configured to allow extension functions, enabling the user to call Java methods from an XSLT stylesheet.

  • Server-side code execution.
  • Exploiting XSLT transformation feature.
  • Compromised service user access.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability impacts dotCMS installations where users with the Scripting Developer role can execute arbitrary code. The first practical step is to identify all dotCMS instances, confirm their reachability and business criticality, and then identify the accountable owner for each instance to plan remediation.

  • Identify dotCMS instance owners.
  • Verify Java version and configuration.
  • Plan vendor-coordinated updates.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the dotCMS software?

dotCMS is a hybrid content management system built on Java, designed to help teams create, manage, and deliver digital content across various channels. It includes development tools like the Velocity view engine, which allows developers to create dynamic content templates. This vulnerability specifically involves the Velocity $xslttool, a component within dotCMS used for processing XML documents via XSLT transformations.

What does CVE-2026-126111 mean for security?

This is a Code Injection vulnerability (CWE-94) in the $xslttool component. It occurs because the tool does not enforce secure processing, which normally restricts the software from executing external commands. Because this check is missing, a user can craft a specialized XSLT stylesheet that forces the server to execute unintended Java methods, potentially leading to full unauthorized code execution on the underlying host.

How is this vulnerability triggered?

An attacker must already have a 'Scripting Developer' account with explicit permission to author and execute Velocity code within the application. This is not a public-facing flaw; it does not trigger for anonymous users or visitors. Furthermore, the vulnerability is generally blocked by default in newer environments running Java 25 or later, unless those systems have been manually configured to re-enable certain Java extension functions.

Is my dotCMS instance at risk?

Halo Surface Signal classifies this issue as 'Unlikely' for most environments because it requires prior administrative or developer-level access to internal application features. If your dotCMS instance is configured to restrict 'Scripting Developer' roles to a limited, trusted set of internal personnel, the effective risk is significantly reduced compared to systems where those roles are widely distributed.

What should I do if I run dotCMS?

First, identify your dotCMS instances and verify which users hold the 'Scripting Developer' role to confirm if your current internal access controls are appropriate. Check your server's Java version, as running Java 25 or later provides built-in protections against this behavior. Finally, coordinate with your team to plan an upgrade to version 26.11.02-01 or higher, which enforces secure processing by default.

References