CVE-2025-54385Xwiki
High 8.6
Follow: this CVE · Xwiki · Xwiki We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 4.0
- 8.6
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 26, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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 Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions between 17.0.0-rc1 to 17.2.2 and versions 16.10.5 and below, it's possible to execute any SQL query in Oracle by using the function like DBMS_XMLGEN or DBMS_XMLQUERY. The XWiki#searchDocuments APIs pass queries directly to Hibernate without sanitization. Even when these APIs enforce a specific SELECT clause, attackers can still inject malicious code through HQL's native function support in other parts of the query (such as the WHERE clause). This is fixed in versions 16.10.6 and 17.3.0-rc-1.
What to do
- Apply the vendor's security update for Xwiki.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-oldcore |
≥ 1.0 < 16.10.6 |
16.10.6 |
— |
| Maven | org.xwiki.platform:xwiki-platform-oldcore |
≥ 17.0.0-rc1 < 17.3.0-rc-1 |
17.3.0-rc-1 |
— |
Per OSV / GitHub Advisories (GHSA-p9qm-p942-q3w5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki | < 16.10.6 |
| xwiki | xwiki | ≥ 17.0.0 ≤ 17.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- docs.oracle.com Product
- github.com Patch
- github.com Patch
- github.com Vendor Advisory
- jira.xwiki.org Vendor Advisory
- www.xwiki.org Release Notes