XWiki vulnerable to remote code execution with script right through unprotected Velocity scripting API
GHSA-h259-74h5-4rh9 · CVE-2026-33229
Published · Modified
Description
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.
References
- WEB https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h259-74h5-4rh9
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-33229
- WEB https://github.com/xwiki/xwiki-platform/commit/9fe84da66184c05953df9466cf3a4acd15a46e63
- PACKAGE https://github.com/xwiki/xwiki-platform
- WEB https://jira.xwiki.org/browse/XWIKI-23698
- WEB https://jira.xwiki.org/browse/XWIKI-23702
Ready to move
Start Securing
Free, no credit card | First findings in minutes