SQL Injection in Xwiki
CVE-2024-56158
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.005 (41.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 41st percentile — 41.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.001
Affected products
- Xwiki
- Xwiki Xwiki-Platform — versions >= 1.0, < 15.10.16, >= 16.0.0-rc-1, < 16.4.7, >= 16.5.0-rc-1, < 16.10.2
Weakness classification (CWE)
References
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-prwh-7838-xf82 (Vendor Advisory)
- github.com/xwiki/xwiki-platform/commit/ce855aae38eefd8ee3fc86353d51ac03d6cb7f8d
- jira.xwiki.org/browse/XWIKI-22734 (Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2024-56158?
- CVE-2024-56158 is a critical-severity vulnerability in Xwiki, classified under SQL Injection. CVSS score: 9.8/10. Published 2025-06-12.
- How severe is CVE-2024-56158?
- Critical severity. CVSS v3 base score is 9.8 out of 10.