CVE-2024-31982Xwiki
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Xwiki · Xwiki We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Xwiki.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki | ≥ 2.4 < 14.10.20 |
| xwiki | xwiki | ≥ 15.0 < 15.5.4 |
| xwiki | xwiki | ≥ 15.6 < 15.10 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Vendor Advisory
- jira.xwiki.org Exploit Vendor Advisory
- www.vicarius.io Exploit Third Party Advisory
- www.vicarius.io
- www.vicarius.io