CVE-2024-56158
CRITICAL 9.3CVSS 4.0XWiki allows SQL injection in query endpoint of REST API with Oracle
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.
- Published
- 12 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-prwh-7838-xf82
- Sources
- NVDJSONOSV GHSA-prwh-7838-xf82JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 1.0, < 15.10.16 | 15.10.16 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 16.0.0, < 16.4.7 | 16.4.7 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 16.5.0, < 16.10.2 | 16.10.2 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 1.0, < 15.10.16 | 15.10.16 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 16.0.0-rc-1, < 16.4.7 | 16.4.7 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 16.5.0-rc-1, < 16.10.2 | 16.10.2 |
References
- https://github.com/xwiki/xwiki-platform/commit/ce855aae38eefd8ee3fc86353d51ac03d6cb7f8d · WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-prwh-7838-xf82 · Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-22734 · Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-56158 · ADVISORY
- https://github.com/xwiki/xwiki-platform · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 12 Jun 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jun 2025)