{"id":"CVE-2024-31984","published":"2024-04-10T19:53:50Z","modified":"2024-08-13T13:37:31Z","title":"XWiki Platform: Remote code execution through space title and Solr space facet","vendor":"xwiki","product":"xwiki-platform","tier":"core","eol":null,"affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 7.2-rc-1, < 14.10.20",">= 15.0-rc-1, < 15.5.4",">= 15.6-rc-1, < 15.10-rc-1"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The XWiki Platform (xwiki-platform) has an eval injection flaw in its Solr-based search, triggered by a document created with a specially crafted space title and the Solr space facet component. An attacker with low-privilege access who can edit a space title (which all users can do by default) can execute arbitrary Groovy code on the XWiki installation, with no user interaction needed and no additional configuration beyond the default setup.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:14:12Z"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.82996,"percentile":0.99672,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-xm4h-3jxr-m3c6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/43c9d551e3c11e9d8f176b556dd33bbe31fc66e0","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/5ef9d294d37be92ee22b2549e38663b29dce8767","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/74e301c481e69eeea674dac7fed6af3614cf08c5","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/94fc12db87c2431eb1335ecb9c2954b1905bde62","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/acba74c149a041345b24dcca52c586f872ba97fb","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/ef55105d6eeec5635fd693f0070c5aaaf3bdd940","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21471","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-solr-ui","vulnerableRanges":[">=7.2-rc-1, <14.10.20",">=15.0-rc-1, <15.5.4",">=15.6-rc-1, <15.10-rc-1"],"patched":["14.10.20","15.5.4","15.10-rc-1"],"from":["GHSA-xm4h-3jxr-m3c6"],"provenance":"source"}],"advisories":[{"id":"GHSA-xm4h-3jxr-m3c6","url":"https://github.com/advisories/GHSA-xm4h-3jxr-m3c6","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-solr-ui","vulnerableRanges":[">=7.2-rc-1, <14.10.20"],"patched":["14.10.20"],"provenance":"source","from":"GHSA"},{"id":"GHSA-xm4h-3jxr-m3c6","url":"https://github.com/advisories/GHSA-xm4h-3jxr-m3c6","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-solr-ui","vulnerableRanges":[">=15.0-rc-1, <15.5.4"],"patched":["15.5.4"],"provenance":"source","from":"GHSA"},{"id":"GHSA-xm4h-3jxr-m3c6","url":"https://github.com/advisories/GHSA-xm4h-3jxr-m3c6","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-search-solr-ui","vulnerableRanges":[">=15.6-rc-1, <15.10-rc-1"],"patched":["15.10-rc-1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-1338","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1338","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-04-10","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-31984","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":26.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.93,"detail":"percentile 0.9967"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":7.0,"detail":"base score 10"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2024-31984","published":"2024-04-10","fixed":"15.10-rc-1","kev":false},{"cve":"CVE-2025-24893","published":"2025-02-20","fixed":"16.4.1","kev":true,"link":{"from":"CVE-2024-31984","to":"CVE-2025-24893","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-search-solr-ui","fromFixed":"15.10-rc-1","toFixed":"15.10.11","daysApart":316}]}}],"package":"Maven:org.xwiki.platform:xwiki-platform-search-solr-ui"}}