CVE-2024-31984
HIGH 8.8CVSS 3.1XWiki Platform: Remote code execution through space title and Solr space facet
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.
- Published
- 10 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-94CWE-95
- Also known as
- GHSA-xm4h-3jxr-m3c6
- Sources
- NVDJSONOSV GHSA-xm4h-3jxr-m3c6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 7.3, < 14.10.20 | 14.10.20 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 15.0, < 15.5.4 | 15.5.4 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 15.6, < 15.10 | 15.10 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:7.2:-:*:*:*:*:*:* |
= 7.2 | |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:7.2:rc1:*:*:*:*:*:* |
= 7.2 | |
| OSV | Maven | org.xwiki.platform:xwiki-platform-search-solr-ui | >= 7.2-rc-1, < 14.10.20 | 14.10.20 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-search-solr-ui | >= 15.0-rc-1, < 15.5.4 | 15.5.4 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-search-solr-ui | >= 15.6-rc-1, < 15.10-rc-1 | 15.10-rc-1 |
References
- https://github.com/xwiki/xwiki-platform/commit/43c9d551e3c11e9d8f176b556dd33bbe31fc66e0 · Patch, WEB
- https://github.com/xwiki/xwiki-platform/commit/5ef9d294d37be92ee22b2549e38663b29dce8767 · Patch, WEB
- https://github.com/xwiki/xwiki-platform/commit/74e301c481e69eeea674dac7fed6af3614cf08c5 · Patch, WEB
- https://github.com/xwiki/xwiki-platform/commit/94fc12db87c2431eb1335ecb9c2954b1905bde62 · Patch, WEB
- https://github.com/xwiki/xwiki-platform/commit/acba74c149a041345b24dcca52c586f872ba97fb · Patch, WEB
- https://github.com/xwiki/xwiki-platform/commit/ef55105d6eeec5635fd693f0070c5aaaf3bdd940 · Patch, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-xm4h-3jxr-m3c6 · Exploit, Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-21471 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-31984 · ADVISORY
- https://github.com/xwiki/xwiki-platform · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 10 Apr 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Apr 2024)