CVE-2024-56158
published critical CVSS 4.0 · 9.3XWiki allows SQL injection in query endpoint of REST API with Oracle
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| xwiki | — | xwiki-platform>= 1.0, < 15.10.16 · >= 16.0.0-rc-1, < 16.4.7 · >= 16.5.0-rc-1, < 16.10.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xwiki | xwiki-platform | >= 1.0, < 15.10.16 (affected)>= 16.0.0-rc-1, < 16.4.7 (affected)>= 16.5.0-rc-1, < 16.10.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
3Provider assertions
2GitHub_M · cna
XWiki allows SQL injection in query endpoint of REST API with Oracle
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f0dd4ad8dd4c96ad763e2f3cc19627209f00d5f2fe940cae97673f1a9d10f134
- Ingested
- 23 Sep 2026, 08:31:43 UTC
- Source record
- Official CVE record