Missing Authorization in XWiki platform - CVE-2024-31997

 

Missing Authorization in XWiki platform - CVE-2024-31997

Published: April 10, 2024 / Updated: May 5, 2026


Vulnerability identifier: #VU129905
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-31997
CWE-ID: CWE-862
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

XWiki platform

How to mitigate CVE-2024-31997

Install security update from vendor's website.

XWiki platform - addressed in versions 14.10.19, 15.5.4, 15.9

External References

Related Security Bulletins