Critical severity · published Oct 6, 2025
CVE-2025-52472
XWiki Platform vulnerable to HQL injection via wiki and space search REST API
9.3
CVSS
2.4%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)2.4% · higher than 84% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
XW
xwiki-platform · xwiki
>= 4.3-milestone-1, < 16.10.9; >= 17.0.0-rc-1, < 17.4.2 · source: vendor
Affected product
XW
xwiki-platform
xwiki
More from xwiki-platform
9.8
CVE-2025-24893
Remote code execution as guest via SolrSearchMacros request in xwiki
9.8
CVE-2026-33229
XWiki Platform affected by remote code execution with script right through unprotected Velocity scripting API
9.3
CVE-2026-33137
XWiki Platform has an Unauthenticated XAR Import via REST /wikis/{wikiName}
9.1
CVE-2025-55747
XWiki Platform's configuration files can be accessed through the webjars API
8.2
CVE-2026-34151
XWiki Platform: Resource path traversal via /skin/ action endpoint in Jetty 12+