Description
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.
Published: 2026-12-04
Score: 9 Critical
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Upgrade to dotCMS 26.11.02-01 or later, or to 25.07.10 LTS v28 or later.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Dec 2026 20:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Code execution through XSLT extension functions in the Velocity XSLT tool
Weaknesses CWE-94
References
Metrics cvssV4_0

{'score': 9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: dotCMS

Published:

Updated: 2026-12-04T20:16:49.165Z

Reserved: 2026-11-10T17:47:22.365Z

Link: CVE-2026-126111

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')