Missing Authorization in XWiki platform - CVE-2024-31997
Published: April 10, 2024 / Updated: May 5, 2026
XWiki platform
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to missing authorization in UI extension parameters when interpreting UI extension parameters as Velocity code. A remote user can create a UI extension in a document they can edit to execute arbitrary code.
UI extension parameters are executed with programming rights, and a user with edit right on a document such as their own profile can create UI extensions.