CVE-2024-31984 in Xwiki
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 s...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Xwiki | Xwiki | 7.2 ≥ 7.3, < 14.10.20 ≥ 15.0, < 15.5.4 ≥ 15.6, < 15.10 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-31984 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-191668-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-04-10 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
CWE-95: CWE-95
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94, CWE-95
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical vulnerability in XWiki Platform allows remote code execution through specially crafted document titles, affecting versions 7.2-rc-1 to 4.10.19, 15.5.3 and earlier, and 15.10-rc before 15.10.
An attacker can exploit this vulnerability by creating a document with a specially crafted title in the XWiki platform. This can trigger remote code execution in the Solr-based search functionality, allowing the execution of arbitrary Groovy code within the XWiki installation.
Questions
What is CVE-2024-31984?
A critical vulnerability in XWiki Platform allows remote code execution through specially crafted document titles, affecting versions 7.2-rc-1 to 4.10.19, 15.5.3 and earlier, and 15.10-rc before 15.10.
What is the CVSS score for CVE-2024-31984?
CVE-2024-31984 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 4.6%.
Is CVE-2024-31984 actively exploited?
No confirmed active exploitation of CVE-2024-31984 as of 2026-09-25.
How do I remediate CVE-2024-31984?
Priority: IMMEDIATE. Advisory: https://jira.xwiki.org/browse/XWIKI-21471 PSIRT: [email protected]
What systems are affected by CVE-2024-31984?
CVE-2024-31984 affects Xwiki Xwiki.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Xwiki","product":"Xwiki","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.