CVE-2025-52472
| Severity | 9.3 Critical CVSS 4.0 |
|---|---|
| Fixed in | 17.4.2, 16.10.9 |
| Weakness | SQL injection (CWE-89) |
| Published | 6 Oct 2025 |
| Updated | 3 Nov 2026 |
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 status
Exploited
Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV listed Exploitation reported in the wild. 1 citation · earliest 2025-11-27.
- CISA Vulnrichment exploitation: none
- Indexed PoC 1 indexed Published artifacts you can open, in Nuclei.
- EPSS 2.4% chance in 30 days
VulnCheck KEV
Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2025-52472 in VulnCheck (free account).
| Evidence | Source | Detail | Date |
|---|---|---|---|
| Reported exploitation | app.crowdsec.net | /cti/cve-explorer/CVE-2025-52472 | 2025-11-27 |
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| Nuclei | XWiki - HQL Injection |
Waratek protection
A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.
- Protection none
- Action feasible
- Review human Researcher
- Record active
| Decided by | A researcher's recorded decision for this specific CVE |
|---|---|
| Finding | A researcher set this CVE's status to Mitigation candidate. |
Waratek research note
written 2026-11-13Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.
Comments
HQL injection in XWiki's REST search API through the orderField parameter, reachable unauthenticated. The SQL rule does not detect SQL injection through Hibernate HQL queries (PM-79). Reproduced on XWiki 16.10.8 with PostgreSQL: an orderField payload that stays valid HQL injects or 1=1 and returns every page, with no event from the SQL rule.
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.xwiki.platform:xwiki-platform-rest-server |
17.0.0-rc-1 | 17.4.2 |
unbounded |
org.xwiki.platform:xwiki-platform-rest-server |
4.3-milestone-1 | 16.10.9 |
unbounded |
Products and versions
1 product, 2 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.xwiki.platform | xwiki-platform-rest-server | generic | ≥ 4.3 and < 16.10.9 · ≥ 17.0.0 and < 17.4.2 |
References
Timeline
Timeline
| Published | 2025-10-06 | By the CVE Program. |
|---|---|---|
| VulnCheck KEV: earliest evidence | 2025-11-27 | Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE. |
| NVD record modified | 2026-10-09 | NVD's own last-modified date for this record. |
| Last VRT activity | 2026-11-03 | Most recent commit touching this CVE's classification, patch or rule file. |
| Classification created | 2026-11-13 | First commit adding this CVE's research note. |