CVE-2026-33229: XWiki vulnerable to 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.
Published Apr 8, 2026
Affected packages
org.xwiki.platform:xwiki-platform-oldcore
- Ecosystem
- Maven
- Affected
- >= 17.0.0-rc-1, < 17.4.8
- Fixed in
- 17.4.8
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore
org.xwiki.platform:xwiki-platform-oldcore
- Ecosystem
- Maven
- Affected
- >= 17.5.0-rc-1, < 17.10.1
- Fixed in
- 17.10.1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore
org.xwiki.platform:xwiki-platform-legacy-oldcore
- Ecosystem
- Maven
- Affected
- >= 17.0.0-rc-1, < 17.4.8
- Fixed in
- 17.4.8
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-legacy-oldcore
org.xwiki.platform:xwiki-platform-legacy-oldcore
- Ecosystem
- Maven
- Affected
- >= 17.5.0-rc-1, < 17.10.1
- Fixed in
- 17.10.1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-legacy-oldcore
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to azefzafyoussef.
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h259-74h5-4rh9
- https://github.com/xwiki/xwiki-platform/commit/9fe84da66184c05953df9466cf3a4acd15a46e63
- https://jira.xwiki.org/browse/XWIKI-23698
- https://jira.xwiki.org/browse/XWIKI-23702
- https://nvd.nist.gov/vuln/detail/CVE-2026-33229
- https://github.com/advisories/GHSA-h259-74h5-4rh9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-34151
XWiki Platform Old Core: Resource path traversal via /skin/ action endpoint in Jetty 12+
high8.2Jul 7, 2026CVE-2026-40104
XWiki's REST APIs can list all pages/spaces, leading to unavailability
medium8.2Apr 14, 2026CVE-2025-54124
XWiki leaks password hashes and other accessible password properties
high7.1Aug 5, 2025CVE-2025-54125
XWiki exposes passwords and emails stored in fields not named password/email in xml.vm
high8.7Aug 5, 2025CVE-2025-54385
XWiki Platform vulnerable to SQL injection through XWiki#searchDocuments API
high8.6Jul 25, 2025CVE-2025-49586
XWiki allows remote code execution through preview of XClass changes in AWM editor
high8.7Jun 13, 2025
