Live threats

All CVEs / Xwiki

CVE-2024-31982Xwiki

Critical 9.8 No auth neededHigh EPSS

Priority
78
CVSS 3.1
9.8
EPSS
38.3%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Apr 10, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-95, CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

XWiki Platform is a generic wiki platform. Starting in version 2.4-milestone-1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, XWiki's database search allows remote code execution through the search text. This allows remote code execution for any visitor of a public wiki or user of a closed wiki as the database search is by default accessible for all users. This impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10RC1. As a workaround, one may manually apply the patch to the page `Main.DatabaseSearch`. Alternatively, unless database search is explicitly used by users, this page can be deleted as this is not the default search interface of XWiki.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xwiki.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.xwiki.platform:xwiki-platform-search-ui ≥ 2.4-milestone-1 < 14.10.20 14.10.20 —
Maven org.xwiki.platform:xwiki-platform-search-ui ≥ 15.0-rc-1 < 15.5.4 15.5.4 —
Maven org.xwiki.platform:xwiki-platform-search-ui ≥ 15.6-rc-1 < 15.10-rc-1 15.10-rc-1 —

Per OSV / GitHub Advisories (GHSA-2858-8cfx-69m9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
xwikixwiki≥ 2.4 < 14.10.20
xwikixwiki≥ 15.0 < 15.5.4
xwikixwiki≥ 15.6 < 15.10

Official sources

References

Links published by the sources. Open them with care.