Code execution through XSLT extension functions in the Velocity XSLT tool
- CVE-2026-126111
- EUVD-2026-144711
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.
Text from the CVE.org record.
Recommendation
dotCMS
- If you run a version before 26.11.02-01update to 26.11.02-01 or later
- If you run a version from 25.07.10 to before 25.07.10_lts_v28update to 26.11.02-01 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
dotCMS
Affected versions Fixed in before 26.11.02-01 26.11.02-01 from 25.07.10 to before 25.07.10_lts_v28 26.11.02-01
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.