patchminder
Weaponized · Nuclei CVE-2024-31982

Remote code executionin XWiki Platform.

Published 10 Apr 2024 · Updated 25 Sep 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
Critical 10.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 34.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 14.10.20, 15.5.4, 15.10-rc-1
In plain words

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 now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
xwiki-platform
2.4-milestone-1 to before 14.10.20
14.10.20
CVE record
xwiki-platform
15.0-rc-1 to before 15.5.4
15.5.4
CVE record
xwiki-platform
15.6-rc-1 to before 15.10-rc-1
15.10-rc-1
CVE record
org.xwiki.platform:xwiki-platform-search-ui (Maven)
2.4-milestone-1 to before 14.10.20
14.10.20
GitHub advisory
org.xwiki.platform:xwiki-platform-search-ui (Maven)
15.0-rc-1 to before 15.5.4
15.5.4
GitHub advisory
org.xwiki.platform:xwiki-platform-search-ui (Maven)
15.6-rc-1 to before 15.10-rc-1
15.10-rc-1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 8 Apr 2024
    CVE ID reserved by GitHub_M.
  2. 10 Apr 2024
    Published in the CVE List.
  3. 22 Jun 2024
    First public proof of concept on GitHub.
  4. 25 Sep 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
4 repositories
GitHubno warning signs foundbigb0x/CVE-2024-3198210 stars · created 22 Jun 2024POC for CVE-2024-31982: XWiki Platform Remote Code Execution > 14.10.20
GitHubno warning signs foundNanoWraith/CVE-2024-319821 stars · created 22 Jun 2024
GitHubno warning signs foundth3gokul/CVE-2024-319820 stars · created 22 Jun 2024A tool for vulnerability detection and exploitation tool for CVE-2024-31982
GitHubno warning signs foundraishin1/CVE-2024-319820 stars · created 11 Nov 2025Vulnerability for Xwiki

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.

Related

Other Platform vulnerabilities

Same weakness: Eval injection

All CWE-95 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-31982: Remote code execution in XWiki Platform. https://patchminder.com/cve/cve-2024-31982/ (accessed 5 December 2026).