Live threats

All CVEs / Xwiki

CVE-2025-54385Xwiki

High 8.6

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xwiki.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
xwikixwiki< 16.10.6
xwikixwiki≥ 17.0.0 ≤ 17.2.2

Official sources

References

Links published by the sources. Open them with care.