CVE-2024-31997Xwiki Missing Authorization
XWiki Platform remote code execution from account through UIExtension parameters
Published Apr 10, 2024 · Updated Oct 28, 2026 · Also known as GHSA-c2gg-4gq4-jv5j
Key Facts
Patch immediately- CVE-2024-31997 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Xwiki, org.xwiki.platform:xwiki-platform-uiextension-api (maven), xwiki-platform.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 74% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.xwiki.platform:xwiki-platform-uiextension-api 14.10.19, org.xwiki.platform:xwiki-platform-uiextension-api 15.5.4, org.xwiki.platform:xwiki-platform-uiextension-api 15.9-rc-1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
74%
Higher than 99.4% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
49/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2024-31997
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-31997
- advisoryGHSA advisory
- patchhttps://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea
- patchhttps://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d
- patchhttps://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7
Description
XWiki Platform is a generic wiki platform. Prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's own profile can create UI extensions.
This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.19, 15.5.4 and 15.9-RC1. No known workarounds are available.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| XwikiXwiki | See advisory | 14.10.19 |
| org.xwiki.platform:xwiki-platform-uiextension-apimaven | See advisory | 15.9-rc-1 |
| xwiki-platform | < 14.10.19 | n/a |
Patched Releases
org.xwiki.platform:xwiki-platform-uiextension-api
14.10.19, 15.5.4, 15.9-rc-1
Xwiki
14.10.19
Timeline
Publicly disclosed
Apr 10, 2024
Last updated
Oct 28, 2026
Weakness Type
- CWE-862 Missing Authorization
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2024-31997
- advisoryGHSA advisory
- patchhttps://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea
- patchhttps://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d
FAQ
Common Questions.
XWiki Platform is a generic wiki platform.
Affected: Xwiki; org.xwiki.platform:xwiki-platform-uiextension-api (maven); xwiki-platform versions < 14.10.19. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including org.xwiki.platform:xwiki-platform-uiextension-api 14.10.19, org.xwiki.platform:xwiki-platform-uiextension-api 15.5.4, org.xwiki.platform:xwiki-platform-uiextension-api 15.9-rc-1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-31997 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo