Remote code executionin XWiki Platform.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade xwiki-platform to 14.10.20, 15.5.4, 15.10-rc-1 or later, whichever matches your release line.
- Upgrade org.xwiki.platform:xwiki-platform-search-ui (Maven) to 14.10.20, 15.5.4, 15.10-rc-1 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 8 Apr 2024CVE ID reserved by GitHub_M.
- 10 Apr 2024Published in the CVE List.
- 22 Jun 2024First public proof of concept on GitHub.
- 25 Sep 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Platform vulnerabilities
Same weakness: Eval injection
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- jira.xwiki.org x_refsource_MISC
- www.vicarius.io
- www.vicarius.io
- www.vicarius.io
Patchminder. CVE-2024-31982: Remote code execution in XWiki Platform. https://patchminder.com/cve/cve-2024-31982/ (accessed 5 December 2026).