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.
The vulnerability has been patched in XWiki 17.4.8 and 17.10.1 by requiring programming right to access the affected scripting API.
We're not aware of any workarounds except for being careful whom you grant script right.
We thank Youssef Azefzaf for discovering and reporting this vulnerability.
{
"nvd_published_at": "2026-04-08T16:16:23Z",
"severity": "HIGH",
"github_reviewed": true,
"cwe_ids": [
"CWE-862"
],
"github_reviewed_at": "2026-04-08T15:00:17Z"
}