CVE-2024-31984
HighPublic exploitXWiki Platform: Remote code execution through space title and Solr space facet
Published Apr 10, 2024 · Updated Sep 10, 2026 · Also known as GHSA-xm4h-3jxr-m3c6
Key Facts
Patch immediately- CVE-2024-31984 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Xwiki, org.xwiki.platform:xwiki-platform-search-solr-ui (maven), xwiki-platform.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 83% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.xwiki.platform:xwiki-platform-search-solr-ui 14.10.20, org.xwiki.platform:xwiki-platform-search-solr-ui 15.10-rc-1, org.xwiki.platform:xwiki-platform-search-solr-ui 15.5.4.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
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)
83%
Higher than 99.6% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2024-31984 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
XWiki Platform is a generic wiki platform. Starting in version 7.2-rc-1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, by creating a document with a specially crafted title, it is possible to trigger remote code execution in the (Solr-based) search in XWiki. This allows any user who can edit the title of a space (all users by default) to execute any Groovy code in the XWiki installation which compromises the confidentiality, integrity and availability of the whole XWiki installation. This has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. As a workaround, manually apply the patch to the Main.SolrSpaceFacet page.
Affected Products
5 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| XwikiXwiki | 7.2, 7.2-rc1 | 14.10.20 |
| org.xwiki.platform:xwiki-platform-search-solr-uimaven | >= 7.2-rc-1 | 15.10-rc-1 |
| xwiki-platform | >= >= 7.2-rc-1, < 14.10.20 | n/a |
Patched Releases
org.xwiki.platform:xwiki-platform-search-solr-ui
14.10.20, 15.10-rc-1, 15.5.4
Xwiki
14.10.20
Timeline
Publicly disclosed
Apr 10, 2024
Last updated
Sep 10, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31984.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-31984
- patchhttps://github.com/xwiki/xwiki-platform/commit/43c9d551e3c11e9d8f176b556dd33bbe31fc66e0
- patchhttps://github.com/xwiki/xwiki-platform/commit/5ef9d294d37be92ee22b2549e38663b29dce8767
FAQ
Common Questions.
XWiki Platform is a generic wiki platform.
Affected: Xwiki versions 7.2, 7.2-rc1; org.xwiki.platform:xwiki-platform-search-solr-ui (maven) versions >= 7.2-rc-1; xwiki-platform versions >= >= 7.2-rc-1, < 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.
Public exploit code is available.
Fixed versions are available, including org.xwiki.platform:xwiki-platform-search-solr-ui 14.10.20, org.xwiki.platform:xwiki-platform-search-solr-ui 15.10-rc-1, org.xwiki.platform:xwiki-platform-search-solr-ui 15.5.4.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-31984 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo