CVE-2024-31988 in Xwiki
XWiki Platform is a generic wiki platform. Starting in version 13.9-rc-1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, when the realtime editor is installed in XWiki, it allows arbitrary remote code execution with the interaction of an admin user with programming right. More precisely, by getting an admin u...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, 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 | ≥ 13.9, < 14.10.19 ≥ 15.0, < 15.5.4 ≥ 15.6, < 15.9 |
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 13.9-rc-1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, when the realtime editor is installed in XWiki, it allows arbitrary remote code execution with the interaction of an admin user with programming right. More precisely, by getting an admin user to either visit a crafted URL or to view an image with this URL that could be in a comment, the attacker can get the admin to execute arbitrary XWiki syntax including scripting macros with Groovy or Python code. This compromises 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. As a workaround, one may update `RTFrontend.ConvertHTML` manually with the patch. This will, however, break some synchronization processes in the realtime editor, so upgrading should be the preferred way on installations where this editor is used.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-31988 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-050410-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2024-04-10 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-352: Cross-Site Request Forgery (CSRF)
Web application does not verify that a request was intentionally sent by the authenticated user.
Related attack patterns (CAPEC)
CAPEC-462 Cross-Domain Search Timing via CWE-352
CAPEC-467 Cross Site Identification via CWE-352
CAPEC-62 Cross Site Request Forgery via CWE-352
CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-352
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
XWiki Platform versions 13.9-rc-1 through 4.10.18, 15.5.3 and earlier, and 15.10-rc-1 and earlier are vulnerable to arbitrary remote code execution when the realtime editor is installed. This can be exploited by tricking an admin user with programming rights into visiting a crafted URL or viewing an image with this URL.
An attacker can exploit this vulnerability by crafting a URL that, when visited by an admin user with programming rights, executes arbitrary code on the server. The attack can also be delivered through an image with the crafted URL, making it easier to trick the admin into visiting the malicious URL.
Questions
What is CVE-2024-31988?
XWiki Platform versions 13.9-rc-1 through 4.10.18, 15.5.3 and earlier, and 15.10-rc-1 and earlier are vulnerable to arbitrary remote code execution when the realtime editor is installed. This can be exploited by tricking an admin user with programming rights into visiting a crafted URL or viewing an image with this URL.
What is the CVSS score for CVE-2024-31988?
CVE-2024-31988 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.6%.
Is CVE-2024-31988 actively exploited?
No confirmed active exploitation of CVE-2024-31988 as of 2026-09-25.
How do I remediate CVE-2024-31988?
Priority: IMMEDIATE. Advisory: https://jira.xwiki.org/browse/XWIKI-21424 PSIRT: [email protected]
What systems are affected by CVE-2024-31988?
CVE-2024-31988 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.