CVE-2024-56158: xwiki-platform · SQL Injection
Affects xwiki-platformSource CVE Database V5
Not known to be exploited · CVSS 9.3 Critical · fixed in 16.10.2 : patch xwiki-platform as a priority.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 16.10.2, 16.4.7, 15.10.16
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade org.xwiki/xwiki-platform to 16.10.2, 16.4.7 or 15.10.16.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.xwiki/xwiki-platformpkg:maven/org.xwiki/xwiki-platformOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-56158, European organizations should immediately upgrade all affected XWiki instances to the fixed versions 15.10.16, 16.4.7, or 16.10.2 as applicable. If immediate upgrade is not feasible, organizations should implement strict network segmentation and firewall rules to restrict access to XWiki instances only to trusted internal users. Disable or restrict the use of Oracle functions like DBMS_XMLGEN and DBMS_XMLQUERY if possible at the database level. Conduct thorough code reviews and audits of any custom HQL queries to ensure no unsafe native functions are used. Monitor logs for unusual query patterns indicative of SQL injection attempts. Employ Web Application Firewalls (WAFs) with rules tailored to detect and block SQL injection payloads targeting Oracle-specific functions. Regularly back up XWiki data and test restoration procedures to minimize impact in case of compromise. Finally, raise user awareness about the risks and ensure incident response plans include scenarios involving SQL injection attacks on collaboration platforms.
Description
XWiki is a generic wiki platform. It's possible to execute any SQL query in Oracle by using the function like DBMS_XMLGEN or DBMS_XMLQUERY. The XWiki query validator does not sanitize functions that would be used in a simple select and Hibernate allows using any native function in an HQL query. This vulnerability is fixed in 16.10.2, 16.4.7, and 15.10.16.