XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet
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 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1, any user with edit right on any page can execute any code on the server by adding an object of type `XWiki.SearchSuggestSourceClass` to their user profile or any other page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. As a workaround, manually apply the patch to the document `XWiki.SearchSuggestSourceSheet`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- 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 | 5.2-milestone-2 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-ui (Maven) | 5.2-milestone-2 to before 14.10.20 | 14.10.20 | Patch available | GHSA-34fj-r5gq-7395 |
| — | org.xwiki.platform:xwiki-platform-search-ui (Maven) | 15.0-rc-1 to before 15.5.4 | 15.5.4 | Patch available | GHSA-34fj-r5gq-7395 |
| — | org.xwiki.platform:xwiki-platform-search-ui (Maven) | 15.6-rc-1 to before 15.10-rc-1 | 15.10-rc-1 | Patch available | GHSA-34fj-r5gq-7395 |
- xwiki-platform VendorXWiki Affected 5.2-milestone-2 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-ui (Maven) Vendor— Affected 5.2-milestone-2 to before 14.10.20 Fixed in 14.10.20 Patch available GHSA-34fj-r5gq-7395
- org.xwiki.platform:xwiki-platform-search-ui (Maven) Vendor— Affected 15.0-rc-1 to before 15.5.4 Fixed in 15.5.4 Patch available GHSA-34fj-r5gq-7395
- org.xwiki.platform:xwiki-platform-search-ui (Maven) Vendor— Affected 15.6-rc-1 to before 15.10-rc-1 Fixed in 15.10-rc-1 Patch available GHSA-34fj-r5gq-7395
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 5.3 to before 14.10.20; 15.0 to before 15.5.4; 15.6 to before 15.10 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:5.2:-:*:*:*:*:*:* | 5.2 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:5.2:milestone2:*:*:*:*:*:* | 5.2 milestone2 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:5.2:rc1:*:*:*:*:*:* | 5.2 rc1 | Vulnerable | XWiki |
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 5.3 to before 14.10.20; 15.0 to before 15.5.4; 15.6 to before 15.10 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:5.2:-:*:*:*:*:*:* Versions 5.2 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:5.2:milestone2:*:*:*:*:*:* Versions 5.2 milestone2 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:5.2:rc1:*:*:*:*:*:* Versions 5.2 rc1 Vulnerable ·XWiki
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.20, 15.5.4, 15.10-rc-1
- Fix · GHSA-34fj-r5gq-7395 org.xwiki.platform:xwiki-platform-search-ui (Maven) Fixed in 14.10.20 Advisory →
- Fix · GHSA-34fj-r5gq-7395 org.xwiki.platform:xwiki-platform-search-ui (Maven) Fixed in 15.5.4 Advisory →
- Fix · GHSA-34fj-r5gq-7395 org.xwiki.platform:xwiki-platform-search-ui (Maven) Fixed in 15.10-rc-1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-31465
- 2026-10-03 Alias added: GHSA-34fj-r5gq-7395
References
Patch 4
- https://github.com/xwiki/xwiki-platform/commit/0317a3aa78065e66c86fc725976b06bf7f9b446e
- https://github.com/xwiki/xwiki-platform/commit/2740974c32dbb7cc565546d0f04e2374b32b36f7
- https://github.com/xwiki/xwiki-platform/commit/6a7f19f6424036fce3d703413137adde950ae809
- https://github.com/xwiki/xwiki-platform/commit/6a7f19f6424036fce3d703413137adde950ae809#diff-67b473d2b6397d65b7726c6a13555850b11b10128321adf9e627e656e1d130a5
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-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
- TI-2023-19071 Injection in xwiki-platform CVSS 3.1CRITICAL 10.0
Sources
- CVE-2024-31465 · CVE Program
- CVE-2024-31465 · NVD
- FIRST EPSS
- GHSA-34fj-r5gq-7395 · 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