XWiki Platform: Remote code execution through space title and Solr space facet
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- 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-95.
Summary
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.
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 | 7.2-rc-1 to before 14.10.20; 15.0-rc-1 to before 15.5.4; 15.6-rc-1 to before 15.10-rc-1 | 14.10.20, 15.5.4, 15.10-rc-1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) | 7.2-rc-1 to before 14.10.20 | 14.10.20 | Patch available | GHSA-xm4h-3jxr-m3c6 |
| — | org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) | 15.0-rc-1 to before 15.5.4 | 15.5.4 | Patch available | GHSA-xm4h-3jxr-m3c6 |
| — | org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) | 15.6-rc-1 to before 15.10-rc-1 | 15.10-rc-1 | Patch available | GHSA-xm4h-3jxr-m3c6 |
- xwiki-platform VendorXWiki Affected 7.2-rc-1 to before 14.10.20; 15.0-rc-1 to before 15.5.4; 15.6-rc-1 to before 15.10-rc-1 Fixed in 14.10.20, 15.5.4, 15.10-rc-1 Patch available CNA
- org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) Vendor— Affected 7.2-rc-1 to before 14.10.20 Fixed in 14.10.20 Patch available GHSA-xm4h-3jxr-m3c6
- org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) Vendor— Affected 15.0-rc-1 to before 15.5.4 Fixed in 15.5.4 Patch available GHSA-xm4h-3jxr-m3c6
- org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) Vendor— Affected 15.6-rc-1 to before 15.10-rc-1 Fixed in 15.10-rc-1 Patch available GHSA-xm4h-3jxr-m3c6
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.20, 15.5.4, 15.10-rc-1
- Fix · GHSA-xm4h-3jxr-m3c6 org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) Fixed in 14.10.20 Advisory →
- Fix · GHSA-xm4h-3jxr-m3c6 org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) Fixed in 15.5.4 Advisory →
- Fix · GHSA-xm4h-3jxr-m3c6 org.xwiki.platform:xwiki-platform-search-solr-ui (Maven) Fixed in 15.10-rc-1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-31984
- 2026-10-03 Alias added: GHSA-xm4h-3jxr-m3c6
References
Exploit 2
Patch 6
- https://github.com/xwiki/xwiki-platform/commit/43c9d551e3c11e9d8f176b556dd33bbe31fc66e0
- https://github.com/xwiki/xwiki-platform/commit/5ef9d294d37be92ee22b2549e38663b29dce8767
- https://github.com/xwiki/xwiki-platform/commit/74e301c481e69eeea674dac7fed6af3614cf08c5
- https://github.com/xwiki/xwiki-platform/commit/94fc12db87c2431eb1335ecb9c2954b1905bde62
- https://github.com/xwiki/xwiki-platform/commit/acba74c149a041345b24dcca52c586f872ba97fb
- https://github.com/xwiki/xwiki-platform/commit/ef55105d6eeec5635fd693f0070c5aaaf3bdd940
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-31984 · CVE Program
- CVE-2024-31984 · NVD
- FIRST EPSS
- GHSA-xm4h-3jxr-m3c6 · 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