Read the docs
TI-2025-32599 Aliases CVE-2025-52472GHSA-gprp-h92g-gc2h

XWiki Platform vulnerable to HQL injection via wiki and space search REST API

Priority MEDIUM 53CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
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. Starting in version 4.3-milestone-1 and prior to versions 16.10.9, 17.4.2, and 17.5.0, the REST search URL is vulnerable to HQL injection via the `orderField` parameter. The specified value is added twice in the query, though, once in the field list for the select and once in the order clause, so it's not that easy to exploit. The part of the query between the two fields can be enclosed in single quotes to effectively remove them, but the query still needs to remain valid with the query two times in it. This has been patched in versions 17.5.0, 17.4.2, and 16.10.9. No known workarounds are available.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02365 83rd percentileScored 2026-11-07
Fix Fixed xwiki-platform (xwiki): 16.10.9, 17.4.2org.xwiki.platform:xwiki-platform-rest-server (Maven): 17.4.2, 16.10.9

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-platform4.3-milestone-1 to before 16.10.9; 17.0.0-rc-1 to before 17.4.216.10.9, 17.4.2Patch availableCNA
—org.xwiki.platform:xwiki-platform-rest-server (Maven)17.0.0-rc-1 to before 17.4.217.4.2Patch availableGHSA-gprp-h92g-gc2h
—org.xwiki.platform:xwiki-platform-rest-server (Maven)4.3-milestone-1 to before 16.10.916.10.9Patch availableGHSA-gprp-h92g-gc2h
  • xwiki-platform VendorXWiki Affected 4.3-milestone-1 to before 16.10.9; 17.0.0-rc-1 to before 17.4.2 Fixed in 16.10.9, 17.4.2 Patch available CNA
  • org.xwiki.platform:xwiki-platform-rest-server (Maven) Vendor— Affected 17.0.0-rc-1 to before 17.4.2 Fixed in 17.4.2 Patch available GHSA-gprp-h92g-gc2h
  • org.xwiki.platform:xwiki-platform-rest-server (Maven) Vendor— Affected 4.3-milestone-1 to before 16.10.9 Fixed in 16.10.9 Patch available GHSA-gprp-h92g-gc2h

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*——XWiki
  • cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions — — ·XWiki

Remediation

  • Fix · CNA xwiki-platform (xwiki) Fixed in 16.10.9, 17.4.2
  • Fix · GHSA-gprp-h92g-gc2h org.xwiki.platform:xwiki-platform-rest-server (Maven) Fixed in 17.4.2 Advisory →
  • Fix · GHSA-gprp-h92g-gc2h org.xwiki.platform:xwiki-platform-rest-server (Maven) Fixed in 16.10.9 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-52472
  2. 2026-10-03 Alias added: GHSA-gprp-h92g-gc2h

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 304 →

Sources