CVE-2025-54385
Java vulnerability analysis and mitigation

Overview

XWiki Platform, a generic wiki platform offering runtime services for applications, contains a SQL injection vulnerability (CVE-2025-54385) affecting versions between 17.0.0-rc1 to 17.2.2 and versions 16.10.5 and below. The vulnerability was discovered and disclosed on July 26, 2025. The issue allows attackers to execute arbitrary SQL queries in Oracle by using functions like DBMSXMLGEN or DBMSXMLQUERY through the XWiki#searchDocuments APIs (GitHub Advisory).

Technical details

The vulnerability stems from insufficient query validation in the XWiki#searchDocuments APIs, which pass queries directly to Hibernate without proper 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. The vulnerability has been assigned a CVSS v4.0 score of 8.6 (HIGH) with the vector string 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 (GitHub Advisory).

Impact

A successful exploitation of this vulnerability could allow attackers to execute arbitrary SQL queries in Oracle databases using functions like DBMSXMLGEN or DBMSXMLQUERY. This could potentially lead to unauthorized access to database contents, data manipulation, and possible system compromise (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in versions 16.10.6 and 17.3.0-rc-1. There are no known workarounds other than upgrading to the patched versions. Users are strongly advised to upgrade their XWiki installations to these or later versions to protect against this vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68113MEDIUM6.5
  • JavaScriptJavaScript
  • altcha-org/altcha
NoYesDec 16, 2025
CVE-2025-67735MEDIUM6.5
  • JavaJava
  • io.netty:netty-codec-http
NoYesDec 16, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • io.airlift:aircompressor-v3
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-14674MEDIUM5.3
  • JavaJava
  • com.aizuda:snail-job
NoYesDec 14, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management