CVE-2024-56158Xwiki
Critical 9.3 No auth needed
Follow: this CVE · Xwiki · Xwiki We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 74
- Auth required
- No
- Published
- Jun 12, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Xwiki.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-oldcore |
≥ 1.0 < 15.10.16 |
15.10.16 |
— |
| Maven | org.xwiki.platform:xwiki-platform-oldcore |
≥ 16.0.0-rc-1 < 16.4.7 |
16.4.7 |
— |
| Maven | org.xwiki.platform:xwiki-platform-oldcore |
≥ 16.5.0-rc-1 < 16.10.2 |
16.10.2 |
— |
Per OSV / GitHub Advisories (GHSA-prwh-7838-xf82). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki | ≥ 1.0 < 15.10.16 |
| xwiki | xwiki | ≥ 16.0.0 < 16.4.7 |
| xwiki | xwiki | ≥ 16.5.0 < 16.10.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com
- github.com Vendor Advisory
- jira.xwiki.org Issue Tracking Vendor Advisory