GHSA-h259-74h5-4rh9High

XWiki vulnerable to remote code execution with script right through unprotected Velocity scripting API

Published
April 8, 2026
Last Modified
April 8, 2026

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products4

  • maven/org.xwiki.platform:xwiki-platform-oldcore:>= 17.0.0-rc-1, < 17.4.8
  • maven/org.xwiki.platform:xwiki-platform-oldcore:>= 17.5.0-rc-1, < 17.10.1
  • maven/org.xwiki.platform:xwiki-platform-legacy-oldcore:>= 17.0.0-rc-1, < 17.4.8
  • maven/org.xwiki.platform:xwiki-platform-legacy-oldcore:>= 17.5.0-rc-1, < 17.10.1

🔗 References (6)