CVE-2024-31982
CVE-2024-31982 — XWiki Platform: Remote code execution as guest via DatabaseSearch
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
35%
chance of exploitation in 30 days
CVSS base
10.0
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 10.0 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-95
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
References
8 on the record
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-2858-8cfx-69m9
x_refsource_CONFIRM
- github.com/xwiki/xwiki-platform/commit/3c9e4bb04286de94ad24854026a09fa967538e31
x_refsource_MISC
- github.com/xwiki/xwiki-platform/commit/459e968be8740c8abc2a168196ce21e5ba93cfb8
x_refsource_MISC
- github.com/xwiki/xwiki-platform/commit/95bdd6cc6298acdf7f8f21298d40eeb8390a8565
x_refsource_MISC
- jira.xwiki.org/browse/XWIKI-21472
x_refsource_MISC
- www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982
reference
- www.vicarius.io/vsociety/posts/cve-2024-31982-detect-xwiki-vulnerability
reference
- www.vicarius.io/vsociety/posts/cve-2024-31982-xwiki-mitigation-vulnerability
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-24893 Remote code execution as guest via SolrSearchMacros request in xwikiCVSS 9.8 · CISA KEV
- CVE-2026-33017 Langflow has Unauthenticated Remote Code Execution via Public Flow Build EndpointCVSS 9.8 · CISA KEV
- CVE-2024-36401 Remote Code Execution (RCE) vulnerability in evaluating property name expressions in GeoserverCVSS 9.8 · CISA KEV
- CVE-2023-7101 Spreadsheet::ParseExcel Remote Code Execution VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2026-15413 Link Factory - BackdoorCVSS 10.0
- CVE-2026-19295 Langflow is affected by multiple remote code execution vulnerabilities due to insufficient code-execution policy enforcementCVSS 9.9
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.