CVE-2024-31465Xwiki Code Injection
XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet
Published Apr 10, 2024 · Updated Oct 28, 2026 · Also known as GHSA-34fj-r5gq-7395
Key Facts
Patch immediately- CVE-2024-31465 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Xwiki, org.xwiki.platform:xwiki-platform-search-ui (maven), xwiki-platform.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 76% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.xwiki.platform:xwiki-platform-search-ui 14.10.20, org.xwiki.platform:xwiki-platform-search-ui 15.10-rc-1, org.xwiki.platform:xwiki-platform-search-ui 15.5.4.
- 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)
76%
Higher than 99.5% of all scored CVEs
Exploit maturity
None known
ATLAS score
33/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
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1, any user with edit right on any page can execute any code on the server by adding an object of type XWiki.SearchSuggestSourceClass to their user profile or any other page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. As a workaround, manually apply the patch to the document XWiki.SearchSuggestSourceSheet.
Affected Products
6 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| XwikiXwiki | 5.2, 5.2-milestone2, 5.2-rc1 | 14.10.20 |
| org.xwiki.platform:xwiki-platform-search-uimaven | >= 5.2-milestone-2 | 14.10.20 |
| xwiki-platform | >= 5.2-milestone-2, < 14.10.20 | n/a |
Patched Releases
org.xwiki.platform:xwiki-platform-search-ui
14.10.20, 15.10-rc-1, 15.5.4
Xwiki
14.10.20
Timeline
Publicly disclosed
Apr 10, 2024
Last updated
Oct 28, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2024-31465
- advisoryGHSA advisory
- articlehttps://github.com/xwiki/xwiki-platform/commit/0317a3aa78065e66c86fc725976b06bf7f9b446e
- articlehttps://github.com/xwiki/xwiki-platform/commit/2740974c32dbb7cc565546d0f04e2374b32b36f7
FAQ
Common Questions.
XWiki Platform is a generic wiki platform.
Affected: Xwiki versions 5.2, 5.2-milestone2, 5.2-rc1; org.xwiki.platform:xwiki-platform-search-ui (maven) versions >= 5.2-milestone-2; xwiki-platform versions >= 5.2-milestone-2, < 14.10.20. 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-search-ui 14.10.20, org.xwiki.platform:xwiki-platform-search-ui 15.10-rc-1, org.xwiki.platform:xwiki-platform-search-ui 15.5.4.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-31465 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