CVE-2025-52472 json
XWiki Platform vulnerable to HQL injection via wiki and space search REST API
published 2025-10-06 13 mo ago modified 2026-10-09 31 d ago also EUVD-2025-32147 , GHSA-gprp-h92g-gc2h
- cvss
- 9.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- maven org.xwiki.platform:xwiki-platform-rest-server 16.10.9, 17.4.2
- org.xwiki.platform xwiki-platform-rest-server 16.10.9, 17.4.2
- xwiki xwiki 16.10.9, 17.4.2
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 13 mo ago
Exploit prediction
2.37% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template XWiki - HQL Injection nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 4.0 | 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-rest-server | >=17.0.0-rc-1, <17.4.2 >=4.3-milestone-1, <16.10.9 |
17.4.2 16.10.9 |
Affected products
- xwiki xwiki-platform
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/xwiki/xwiki-platform/commit/743ebf8696ffa55161ed2c5ecf26b09f69e6bcf1
web
-
github.com
/xwiki/xwiki-platform/commit/a45eca2af772abb7324e56d7fd2df1ac937bc445
web
-
github.com
/xwiki/xwiki-platform/security/advisories/GHSA-gprp-h92g-gc2h
web
-
jira.xwiki.org
/browse/XWIKI-23247
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-52472
advisory
-
github.com
/xwiki/xwiki-platform
package
Sources
- CVE List CVE-2025-52472
- GitHub Advisory GHSA-gprp-h92g-gc2h
- NVD CVE-2025-52472
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.