Security Resilience

CVE-2025-54385

Xwiki ≤ 16.10.6

Published
26 July 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v4 8.6
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.0068 54th percentile
Risk Priority 33 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-54385 is a high-severity Improper Input Validation (CWE-20) vulnerability in Xwiki. Its CVSS base score is 8.6 (High).

Operationally, ranked in the top 46% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

XWiki Platform versions 17.0.0-rc1 through 17.2.2 and 16.10.5 and earlier contain an injection flaw in the XWiki#searchDocuments APIs. These methods forward HQL queries to Hibernate without sanitization, allowing attackers to invoke Oracle-specific functions such as DBMS_XMLGEN and DBMS_XMLQUERY inside the WHERE clause even when the SELECT portion is restricted by the API. The issue is tracked as CWE-20 and carries a CVSS 4.0 score of 8.6.

An authenticated user with administrative privileges can supply crafted HQL that executes arbitrary SQL statements against an Oracle-backed XWiki instance, resulting in full read, write, and delete access to the database contents. Because the injection occurs after the enforced SELECT clause, standard query restrictions do not prevent the attack.

The vulnerability is resolved in XWiki 16.10.6 and 17.3.0-rc-1. The project advisory GHSA-p9qm-p942-q3w5 and the linked commits detail the input-validation changes applied to the searchDocuments methods. EPSS remains low with only a minor increase between its recorded values.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-31464Same product: Xwiki Xwiki
CVE-2024-55879Same product: Xwiki Xwiki
CVE-2025-46558Same product: Xwiki Xwiki
CVE-2025-54125Same product: Xwiki Xwiki
CVE-2024-55876Same product: Xwiki Xwiki
CVE-2023-29213Same product: Xwiki Xwiki
CVE-2025-51991Same product: Xwiki Xwiki
CVE-2022-36094Same product: Xwiki Xwiki
CVE-2023-40573Same product: Xwiki Xwiki
CVE-2023-40177Same product: Xwiki Xwiki

Affected Assets

xwiki
xwiki
≤ 16.10.6 · 17.0.0 — 17.2.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover missing input validation through analysis or test cases.

SI-10 directly requires validity checks on information inputs, structurally preventing improper or missing validation.

Requiring documented development standards and tools can embed input-validation practices into the engineering process.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Testing against a defined set of requirements and using code review plus vulnerability scanning forces validation of inputs and handling of unanticipated conditions, reducing the chance that malformed data will be accepted.

prevents

Requiring language-specific secure coding standards, peer review, SAST and documented mitigation of common programming errors forces validation of all inputs before they are trusted.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-20, a class-level weakness, and none of its children carries one either.

References