CVE-2024-31987
Published: 10 April 2024
Summary
CVE-2024-31987 is a critical-severity Missing Authorization (CWE-862) vulnerability in Xwiki Xwiki. Its CVSS base score is 9.9 (Critical).
Operationally, ranked in the top 3.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
XWiki Platform, a generic wiki platform, contains an authorization bypass vulnerability affecting versions from 6.4-milestone-1 through 14.10.18, 15.5.3, and 15.9. Any user able to edit pages, such as their own profile, can introduce a custom skin containing a template override that executes with programming rights, resulting in remote code execution. The issue is tracked as CWE-862 and carries a CVSS 3.1 score of 9.9.
An attacker with low-privileged edit access can craft the malicious skin and trigger its execution without further user interaction, achieving full control over the affected XWiki instance including the ability to read, modify, or delete arbitrary content and execute system commands.
The GitHub Security Advisory and linked commits confirm the flaw was addressed in releases 14.10.19, 15.5.4, and 15.10RC1; the project states that no workarounds exist other than upgrading to a patched version.
EPSS for the CVE rose from a low baseline after disclosure to a peak of 0.3368 on 2025-12-11 before receding to the current value of 0.2414, indicating measurable post-disclosure exploitation interest that warrants renewed attention.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-1189
Vulnerability details
XWiki Platform is a generic wiki platform. Starting in version 6.4-milestone-1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, any user who can edit any page like their profile can create a custom skin with a template override that is…
more
executed with programming right, thus allowing remote code execution. This has been patched in XWiki 14.10.19, 15.5.4 and 15.10RC1. No known workarounds are available except for upgrading.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requiring an access control policy ensures authorization checks are defined and applied for critical functions.
Reviews of access controls detect missing authorization checks on critical functions or resources.
Documenting permitted unauthenticated actions prevents missing authorization by making all exceptions explicit and subject to organizational review.
Requiring attribute association with information prevents authorization from being performed without necessary security or privacy context.
Mandating authorization prior to allowing remote connections addresses missing authorization for remote access.
Mandating authorization before wireless connections are allowed prevents missing authorization for wireless access.
The control requires authorization before allowing mobile device connections, directly mitigating missing authorization for system access.
Requiring approvals for account creation and specifying authorizations ensures authorization is not missing for system access.