CVE-2026-33229: XWiki Platform affected by remote code execution with script right through unprotected Velocity scripting API
Impact An improperly protected scripting API allows any user with script right to bypass the sandboxing of the Velocity scripting API and execute, e.g., arbitrary Python scripts, allowing full access to the XWiki instance and thereby compromising the confidentiality, integrity and availability of the whole instance. Note that script right already constitutes a high level of access that we don't recommend giving to untrusted users.
Patches The vulnerability has been patched in XWiki 17.4.8 and 17.10.1 by requiring programming right to access the affected scripting API.
Workarounds We're not aware of any workarounds except for being careful whom you grant script right.
Attribution We thank Youssef Azefzaf for discovering and reporting this vulnerability.
Other sources
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Prior to 17.4.8 and 17.10.1, an improperly protected scripting API allows any user with script right to bypass the sandboxing of the Velocity scripting API and execute, e.g., arbitrary Python scripts, allowing full access to the XWiki instance and thereby compromising the confidentiality, integrity and availability of the whole instance. Note that script right already constitutes a high level of access that we don't recommend giving to untrusted users. This vulnerability is fixed in 17.4.8 and 17.10.1.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.xwiki.platform:xwiki-platform-legacy-oldcoreto a version that resolves this vulnerability.Fixed in 17.10.1 - Upgrade
Upgrade
maven/org.xwiki.platform:xwiki-platform-legacy-oldcoreto a version that resolves this vulnerability.Fixed in 17.4.8 - Upgrade
Upgrade
maven/org.xwiki.platform:xwiki-platform-oldcoreto a version that resolves this vulnerability.Fixed in 17.10.1 - Upgrade
Upgrade
maven/org.xwiki.platform:xwiki-platform-oldcoreto a version that resolves this vulnerability.Fixed in 17.4.8 - Upgrade
Upgrade
XWiki Platformto a version that resolves this vulnerability.Fixed in 17.4.8 - Upgrade
Upgrade
XWiki Platformto a version that resolves this vulnerability.Fixed in 17.10.1 - Configuration
Ensure access to the Velocity scripting API is restricted by requiring programming right (not merely script right) to prevent bypass of sandboxing.
XWiki scripting API (Velocity scripting API access control) programming right requirement (to access affected scripting API) = required - Compensating control
Do not grant 'script right' to untrusted users; the only known workaround is being careful whom you grant script right.