XWiki xwiki-platform
XWiki Platform vulnerable to HQL injection via wiki and space search REST API
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.3-milestone-1, < 16.10.9
- >= 17.0.0-rc-1, < 17.4.2
Fixed in 16.10.9, 17.4.2
Mitigation
Upgrade xwiki-platform to 16.10.9 or 17.4.2 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 28 days after publication; not in CISA KEV. First PoC: nuclei template: XWiki - HQL Injection (nuclei template, 3 Nov 2025).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: XWiki - HQL Injection | 3 Nov 2025 | 14 Nov 2026 |