HQL Injection Vulnerability in XWiki Platform Affecting Multiple Versions
CVE-2025-52472
Key facts
CVE-2025-52472 is a critical severity (CVSS 9.3) vulnerability in xwiki-platform. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 3.1%, the estimated probability of exploitation in the next 30 days. Fixed in xwiki-platform 4.3-milestone-1, 16.10.9, 17.0.0-rc-1, 17.4.2.
- Severity
- 9.3CRITICAL
- CVSS base score
- EPSS
- 3.1%
- Chance of exploitation in 30 days
- Exploited
- Not observed
- CISA KEV
- Not listed
- Proof of concept
- None public
- Ransomware
- Not observed
What is CVE-2025-52472?
The XWiki Platform contains a vulnerability that allows HQL injection through the 'orderField' parameter in the REST search URL. Specifically, when a user specifies a value for 'orderField', this value is incorporated twice into the queryโonce in the SELECT field list and again in the ORDER clause. This architectural flaw complicates exploitation, though it is possible when a malicious user takes advantage of the double incorporation within the query. The vulnerability, present in versions starting from 4.3-milestone-1 and up to various builds of 17.x series, has been addressed in subsequent updates. Users are urged to upgrade to versions 16.10.9, 17.4.2, or 17.5.0 to mitigate the risk.
Affected Version(s)
xwiki-platform >= 4.3-milestone-1, < 16.10.9 < 4.3-milestone-1, 16.10.9
xwiki-platform >= 17.0.0-rc-1, < 17.4.2 < 17.0.0-rc-1, 17.4.2
References
More Xwiki Vulnerabilities
Other Xwiki vulnerabilities we have analysed in depth, newest first.