CVE-2024-31984: XWiki Platform: Remote code execution through space title and Solr space facet
10
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.98585%
CWE
Published
4/10/2024
Updated
1/21/2025
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.xwiki.platform:xwiki-platform-search-solr-ui | maven | >= 7.2-rc-1, < 14.10.20 | 14.10.20 |
org.xwiki.platform:xwiki-platform-search-solr-ui | maven | >= 15.0-rc-1, < 15.5.4 | 15.5.4 |
org.xwiki.platform:xwiki-platform-search-solr-ui | maven | >= 15.6-rc-1, < 15.10-rc-1 | 15.10-rc-1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped display of space titles in SolrSpaceFacet.xml Velocity templates. The patch adds $escapetool.xml() wrappers around $spaceDocument.plainTitle and $spaceReference.name, directly addressing code injection via title content. The getSpaceFacetData macro's unescaped output of user-controlled titles is the primary vector, while related macros in the same template likely share the vulnerability pattern. High confidence for explicitly patched locations, medium for adjacent macros where the exploit chain might propagate.