SQL Injection Vulnerability in XWiki Platform Versions 16.10.5 and Below
CVE-2025-54385
Key facts
CVE-2025-54385 is a high severity (CVSS 8.6) vulnerability in xwiki-platform. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.4%, the estimated probability of exploitation in the next 30 days. Fixed in xwiki-platform 16.10.6, 17.0.0-rc1, 17.3.0-rc-1.
- Severity
- 8.6HIGH
- CVSS base score
- EPSS
- 1.4%
- Chance of exploitation in 30 days
- Exploited
- Not observed
- CISA KEV
- Not listed
- Proof of concept
- None public
- Ransomware
- Not observed
What is CVE-2025-54385?
The XWiki Platform is prone to SQL injection vulnerabilities in versions 17.0.0-rc1 to 17.2.2, as well as in versions 16.10.5 and below. This allows attackers to execute arbitrary SQL queries on Oracle databases via the use of functions like DBMS_XMLGEN and DBMS_XMLQUERY. The issue arises because the XWiki#searchDocuments APIs pass queries to Hibernate without proper sanitization. Consequently, even when specific SELECT clauses are enforced, attackers can inject harmful code through HQL's native function capabilities in other areas of the query. The vulnerability has been addressed in versions 16.10.6 and 17.3.0-rc-1.
Affected Version(s)
xwiki-platform < 16.10.6 < 16.10.6
xwiki-platform >= 17.0.0-rc1, < 17.3.0-rc-1 < 17.0.0-rc1, 17.3.0-rc-1
References
More Xwiki Vulnerabilities
Other Xwiki vulnerabilities we have analysed in depth, newest first.