Read the docs
TI-2025-34193 Aliases CVE-2025-54385GHSA-p9qm-p942-q3w5

XWiki Platform's searchDocuments API allows for SQL injection

Priority MEDIUM 46CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00684 52nd percentileScored 2026-11-07
Fix Fixed xwiki-platform (xwiki): 16.10.6, 17.3.0-rc-1org.xwiki.platform:xwiki-platform-oldcore (Maven): 16.10.6, 17.3.0-rc-1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
XWikixwiki-platformbefore 16.10.6; 17.0.0-rc1 to before 17.3.0-rc-116.10.6, 17.3.0-rc-1Patch availableCNA
—org.xwiki.platform:xwiki-platform-oldcore (Maven)1.0 to before 16.10.616.10.6Patch availableGHSA-p9qm-p942-q3w5
—org.xwiki.platform:xwiki-platform-oldcore (Maven)17.0.0-rc1 to before 17.3.0-rc-117.3.0-rc-1Patch availableGHSA-p9qm-p942-q3w5
  • xwiki-platform VendorXWiki Affected before 16.10.6; 17.0.0-rc1 to before 17.3.0-rc-1 Fixed in 16.10.6, 17.3.0-rc-1 Patch available CNA
  • org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 1.0 to before 16.10.6 Fixed in 16.10.6 Patch available GHSA-p9qm-p942-q3w5
  • org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 17.0.0-rc1 to before 17.3.0-rc-1 Fixed in 17.3.0-rc-1 Patch available GHSA-p9qm-p942-q3w5

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*before 16.10.6; 17.0.0 – 17.2.2VulnerableXWiki
  • cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions before 16.10.6; 17.0.0 – 17.2.2 Vulnerable ·XWiki

Remediation

  • Fix · CNA xwiki-platform (xwiki) Fixed in 16.10.6, 17.3.0-rc-1
  • Fix · GHSA-p9qm-p942-q3w5 org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 16.10.6 Advisory →
  • Fix · GHSA-p9qm-p942-q3w5 org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 17.3.0-rc-1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-54385
  2. 2026-10-03 Alias added: GHSA-p9qm-p942-q3w5
  3. 2026-10-25 EPSS moved to the 50th–90th percentile

References

  • TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
  • TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
  • TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
  • TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
  • TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
See all 247 →

Sources