CVE-2024-56158
Severity CVSS v4.0:
CRITICAL
Type:
CWE-89
SQL Injection
Publication date:
12/06/2025
Last modified:
12/01/2026
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.
Impact
Base Score 4.0
9.30
Severity 4.0
CRITICAL
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 1.0 (including) | 15.10.16 (excluding) |
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 16.0.0 (including) | 16.4.7 (excluding) |
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 16.5.0 (including) | 16.10.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



