CVE-2025-52472 Details
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.
A vulnerability allowing HQL injection has been identified in the XWiki Platform REST search API. This issue affects versions 4.3-milestone-1 prior to 16.10.9, 17.4.2, and 17.5.0. The vulnerability arises in the 'orderField' parameter, where injected values can manipulate the query by being added twice—once in the select field list and once in the order clause. Exploitation is complex, requiring the injected query to remain valid while bypassing certain syntax checks. The vulnerability has been patched in versions 17.5.0, 17.4.2, and 16.10.9.
Users can upgrade to XWiki Platform versions 17.5.0, 17.4.2, or 16.10.9 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 6, 2025CISA-ADP
Assessed Oct 6, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/xwiki/xwiki-platform/commit/743ebf8696ffa55161ed2c5ecf26b09f69e6bcf1 | [email protected] | Source CodeVendor |
| https://github.com/xwiki/xwiki-platform/commit/a45eca2af772abb7324e56d7fd2df1ac937bc445 | [email protected] | Source CodeVendor |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gprp-h92g-gc2h | [email protected] | AdvisoryExploitRemedyVendor |
| https://jira.xwiki.org/browse/XWIKI-23247 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| XWiki Platform | >= 4.3-milestone-1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 9, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 6, 2025 | New CVE Received | [email protected] |
Volerion