Patchfirst
CVE-2024-31984 Critical · 10.0 EPSS 83.0%

XWiki Platform: Remote code execution through space title and Solr space facet

xwiki · xwiki-platform

Summary

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.

Official description · CVE.org

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.

Breakdown
26.9 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 10 Apr 2024. No public exploit code or confirmed exploitation is recorded.

2 fixes in xwiki-platform-search-solr-ui over 10 months. The latest fix listed for xwiki-platform-search-solr-ui is 16.4.1.

Fixes in xwiki-platform-search-solr-uiMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 15.10-rc-1CVE-2024-3198410 Apr 2024
  2. 16.4.1CVE-2025-2489320 Feb 2025KEVLatest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.xwiki.platform:xwiki-platform-search-solr-ui.

Mavenorg.xwiki.platform:xwiki-platform-search-solr-uiGHSA-xm4h-3jxr-m3c6

Upgrade to 15.5.4

Still affected on this line by CVE-2025-24893 (fixed in 15.10.11, a newer line).

Also affected, despite being newer: 15.6-rc-1 up to 15.10-rc-1.

Set the version to 15.5.4 or later in your pom.xml or build.gradle.

The first fix for CVE-2024-31984.

Affected versions, by release line

If you runUpgrade to
15.6-rc-1 up to 15.10-rc-115.10.11first fix for this CVE: 15.10-rc-1
15.0-rc-1 up to 15.5.415.5.4
7.2-rc-1 up to 14.10.20

Still affected on this line by CVE-2025-24893 (fixed in 15.10.11, a newer line).

14.10.20

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

8 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close