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.
CVE-2024-31982
Score elevated to 10.0 because EPSS predicts 94% probability of exploitation within the next 30 days (top 0.1% of all CVEs). NVD baseline CVSS 10.0 retained for reference. Confidence: see factors.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 10.0
- EG Score
- 10.0(high)
- EPSS
- 98.2%
- KEV
- Not listed
Published
April 10, 2024
Last Modified
September 25, 2025
Advisory Details (6)
Auto-updated Jul 11, 2026Remote code execution as guest via DatabaseSearch · Advisory · xwiki/xwiki-platform · GitHub
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2858-8cfx-69m9commit 95bdd6cc6298 (xwiki/xwiki-platform)
Patch available: xwiki/xwiki-platform xwiki-platform-16.10.16 (contains commit 95bdd6cc6298)
https://github.com/xwiki/xwiki-platform/commit/95bdd6cc6298acdf7f8f21298d40eeb8390a8565commit 459e968be874 (xwiki/xwiki-platform)
Fix landed in xwiki/xwiki-platform commit 459e968be874 — awaiting tagged release
https://github.com/xwiki/xwiki-platform/commit/459e968be8740c8abc2a168196ce21e5ba93cfb8commit 3c9e4bb04286 (xwiki/xwiki-platform)
Fix landed in xwiki/xwiki-platform commit 3c9e4bb04286 — awaiting tagged release
https://github.com/xwiki/xwiki-platform/commit/3c9e4bb04286de94ad24854026a09fa967538e31XWiki RCE (CVE-2024-31982) - vsociety
https://www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.xwiki.platform:xwiki-platform-search-ui | — | 15.10-rc-1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 32× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-02 17:00 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-26 14:39 UTCOSV refresh
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
Show 14 moreShow fewer
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-08 21:32 UTCOSV refresh
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-24 04:41 UTCEG score recompute
Publicly available exploits
(2 references)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCbigb0x/CVE-2024-31982First seen Jun 22, 2024
POC for CVE-2024-31982: XWiki Platform Remote Code Execution > 14.10.20
Open source ↗ - Nucleihttp/cves/2024/CVE-2024-31982.yamlFirst seen Jan 1, 2024
XWiki < 4.10.20 - Remote code execution
Open source ↗
Frequently asked(5)
What is CVE-2024-31982?
When was CVE-2024-31982 disclosed?
Is CVE-2024-31982 actively exploited?
What is the CVSS score of CVE-2024-31982?
How do I remediate CVE-2024-31982?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-31982
Is Your Infrastructure Affected by CVE-2024-31982?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.