XWiki Platform CSRF remote code execution through the realtime HTML Converter API
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 13.9-rc-1 to before 14.10.19; 15.0-rc-1 to before 15.5.4; 15.6-rc-1 to before 15.9 | 14.10.19, 15.5.4, 15.9 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-realtime-ui (Maven) | 13.9-rc-1 to before 14.10.19 | 14.10.19 | Patch available | GHSA-r5vh-gc3r-r24w |
| — | org.xwiki.platform:xwiki-platform-realtime-ui (Maven) | 15.0-rc-1 to before 15.5.4 | 15.5.4 | Patch available | GHSA-r5vh-gc3r-r24w |
| — | org.xwiki.platform:xwiki-platform-realtime-ui (Maven) | 15.6-rc-1 to before 15.9 | 15.9 | Patch available | GHSA-r5vh-gc3r-r24w |
- xwiki-platform VendorXWiki Affected 13.9-rc-1 to before 14.10.19; 15.0-rc-1 to before 15.5.4; 15.6-rc-1 to before 15.9 Fixed in 14.10.19, 15.5.4, 15.9 Patch available CNA
- org.xwiki.platform:xwiki-platform-realtime-ui (Maven) Vendor— Affected 13.9-rc-1 to before 14.10.19 Fixed in 14.10.19 Patch available GHSA-r5vh-gc3r-r24w
- org.xwiki.platform:xwiki-platform-realtime-ui (Maven) Vendor— Affected 15.0-rc-1 to before 15.5.4 Fixed in 15.5.4 Patch available GHSA-r5vh-gc3r-r24w
- org.xwiki.platform:xwiki-platform-realtime-ui (Maven) Vendor— Affected 15.6-rc-1 to before 15.9 Fixed in 15.9 Patch available GHSA-r5vh-gc3r-r24w
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.19, 15.5.4, 15.9
- Fix · GHSA-r5vh-gc3r-r24w org.xwiki.platform:xwiki-platform-realtime-ui (Maven) Fixed in 14.10.19 Advisory →
- Fix · GHSA-r5vh-gc3r-r24w org.xwiki.platform:xwiki-platform-realtime-ui (Maven) Fixed in 15.5.4 Advisory →
- Fix · GHSA-r5vh-gc3r-r24w org.xwiki.platform:xwiki-platform-realtime-ui (Maven) Fixed in 15.9 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-31988
- 2026-10-03 Alias added: GHSA-r5vh-gc3r-r24w
References
Patch 4
- https://github.com/xwiki/xwiki-platform/commit/4896712ee6483da623f131be2e618f1f2b79cb8d
- https://github.com/xwiki/xwiki-platform/commit/9f8cc88497418750b09ce9fde5d67d840f038fbf
- https://github.com/xwiki/xwiki-platform/commit/d88da4572fb7d4f95e1f54bb0cce33fce3df08d9
- https://github.com/xwiki/xwiki-platform/commit/d9f5043da289ff106f08e23576746fd8baf98794
Advisory 2
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2024-31988 · CVE Program
- CVE-2024-31988 · NVD
- FIRST EPSS
- GHSA-r5vh-gc3r-r24w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences