{"cve":"CVE-2025-52472","nvd":{"published":"2025-10-06T15:16:04.260","modified":"2026-10-09T10:10:00.193","status":"Deferred","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.","cvss_v4":{"vector":"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","score":9.3},"cvss_v3":null,"cwes":["CWE-89"],"references":["https://github.com/xwiki/xwiki-platform/commit/743ebf8696ffa55161ed2c5ecf26b09f69e6bcf1","https://github.com/xwiki/xwiki-platform/commit/a45eca2af772abb7324e56d7fd2df1ac937bc445","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gprp-h92g-gc2h","https://jira.xwiki.org/browse/XWIKI-23247"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:11:26.888974865+00:00"},"epss":{"cve":"CVE-2025-52472","score":0.02365,"percentile":0.83681,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-gprp-h92g-gc2h","url":"https://osv.dev/vulnerability/GHSA-gprp-h92g-gc2h","summary":"XWiki Platform is vulnerable to HQL injection via wiki and space search REST API","modified":"2025-10-06T20:42:24.906837Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-rest-server","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rest-server","ranges":[">=17.0.0-rc-1 <17.4.2"],"fixed":["17.4.2"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-rest-server","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rest-server","ranges":[">=4.3-milestone-1 <16.10.9"],"fixed":["16.10.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}