CVE-2026-126111: Code execution through XSLT extension functions in the Velocity XSLT tool

Published Dec 4, 2026
·
Updated

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 ENABLESCRIPTING) 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.

Affected Software

1 affected component
dotCMS dotCMS>=25.07.10<=26.10.29-01

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.11.02-01
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 25.07.10 LTS v28

Event History

Dec 4, 2026
CVE Published
via MITRE·08:16 PM
Data Sourced
via MITRE·08:16 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Which users can exploit this issue?

A back-end user must be able to author Velocity code, have the Scripting Developer role, and be permitted to use scripting through ENABLE_SCRIPTING. The Velocity code must also be allowed to call the $xslttool view tool.

2

Are default deployments affected?

Deployments running on Java 21 or earlier are exploitable with the default Java configuration, including all 25.07.10 LTS releases and mainline releases through 26.06.02-01. Mainline releases from 26.06.04-01 through 26.10.29-01 run on Java 25 and require the JVM to have XSLT extension functions explicitly enabled.

3

What can be done before upgrading?

Disable scripting through ENABLE_SCRIPTING or ensure users who can author Velocity code cannot call the $xslttool. On Java 25 deployments, do not start the JVM with XSLT extension functions enabled.

4

What is the impact if exploitation succeeds?

An authorized back-end user can invoke Java methods from an XSLT stylesheet and execute arbitrary code on the server. The code runs as the dotCMS service user.

5

Which versions contain the fix?

dotCMS 26.11.02-01 and later enable secure processing for the tool's XSLT transformer, disabling extension functions regardless of the Java version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203