WaratekVRT Sign in

CVE-2024-31984 XWiki

Affected softwareXWiki
Severity9.9 Critical CVSS 3.1 2 scores
Fixed in14.10.20, 15.5.4, 15.10-rc-1
WeaknessCode injection (CWE-94)
Published10 Apr 2024
Updated17 Jun 2026

Description

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.

CWE-95

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 83% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.7% of all scored CVEs.

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: xwiki/xwiki-platform 43c9d55.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/xwiki/xwiki-platform/commit/43c9d551e3c11e9d8f176b556dd33bbe31fc66e0 : a commit: the change itself

CVSS

9.9 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.9 CRITICAL CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H security-advisories@github.com Secondary published
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.platform:xwiki-platform-search-solr-ui 7.2-rc-1 14.10.20 unbounded
org.xwiki.platform:xwiki-platform-search-solr-ui 15.0-rc-1 15.5.4 unbounded
org.xwiki.platform:xwiki-platform-search-solr-ui 15.6-rc-1 15.10-rc-1 unbounded

Products and versions

2 products, 8 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.platform xwiki-platform-search-solr-ui generic ≥ 7.2 and < 14.10.20 · ≥ 15.0 and < 15.5.4 · ≥ 15.6 and < 15.10
nvd xwiki xwiki generic 7.2 · 7.2:rc1 · ≥ 7.3 and < 14.10.20 · ≥ 15.0 and < 15.5.4 · ≥ 15.6 and < 15.10

References

URLTags
https://github.com/xwiki/xwiki-platform/commit/43c9d551e3c11e9d8f176b556dd33bbe31fc66e0 commit
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-xm4h-3jxr-m3c6 WEB
https://github.com/xwiki/xwiki-platform/commit/5ef9d294d37be92ee22b2549e38663b29dce8767 WEB
https://github.com/xwiki/xwiki-platform/commit/74e301c481e69eeea674dac7fed6af3614cf08c5 WEB
https://github.com/xwiki/xwiki-platform/commit/94fc12db87c2431eb1335ecb9c2954b1905bde62 WEB
https://github.com/xwiki/xwiki-platform/commit/acba74c149a041345b24dcca52c586f872ba97fb WEB
https://github.com/xwiki/xwiki-platform/commit/ef55105d6eeec5635fd693f0070c5aaaf3bdd940 WEB
https://github.com/xwiki/xwiki-platform PACKAGE
https://jira.xwiki.org/browse/XWIKI-21471 WEB

Timeline

Published2024-04-10By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.