Missing Authorization in XWiki platform - CVE-2024-31987

 

Missing Authorization in XWiki platform - CVE-2024-31987

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


Vulnerability identifier: #VU129901
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2024-31987
CWE-ID: CWE-862
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: XWiki
Affected software:
XWiki platform

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to missing authorization in custom skins support when testing a custom skin with a template override. A remote user can create a custom skin on a page they can edit and define a template override that is executed with programming right to execute arbitrary code.

The issue can be exploited by a user who can edit a page such as their profile, even without edit, script, or admin right.


How to mitigate CVE-2024-31987

Install security update from vendor's website.

Sources