---
title: "CVE-2025-52472: XWiki Platform is vulnerable to HQL injection via wiki and space search REST API"
url: https://erroneo.us/security/cve/CVE-2025-52472/
description: "CVE-2025-52472 (org.xwiki.platform:xwiki-platform-rest-server (Maven)): XWiki Platform is a generic wiki platform offering runtime services for applications…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-10-06
date_modified: 2025-10-06
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-52472"
kev: false
cvss: 9.3
epss: 0.02365
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-52472: XWiki Platform is vulnerable to HQL injection via wiki and space search REST API

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 2.4% , percentile 84: FIRST’s model estimates a 2.4% chance of exploitation activity in the next 30 days, higher than 84% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes org.xwiki.platform:xwiki-platform-rest-server (Maven) >= 17.0.0-rc-1, < 17.4.2, fixed in 17.4.2 ; org.xwiki.platform:xwiki-platform-rest-server (Maven) >= 4.3-milestone-1, < 16.10.9, fixed in 16.10.9 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Maven `org.xwiki.platform:xwiki-platform-rest-server` >= 17.0.0-rc-1, < 17.4.2 → fixed: 17.4.2
- Maven `org.xwiki.platform:xwiki-platform-rest-server` >= 4.3-milestone-1, < 16.10.9 → fixed: 16.10.9

## Affected products (CVE record)

- xwiki xwiki-platform: >= 4.3-milestone-1, < 16.10.9, >= 17.0.0-rc-1, < 17.4.2

## Severity

- GitHub_M CVSS 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`
- GitHub CVSS 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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 2.37% probability of exploitation activity in the next 30 days; percentile 84.

## Sources

- [GitHub Advisory GHSA-gprp-h92g-gc2h](https://github.com/advisories/GHSA-gprp-h92g-gc2h)
- [CVE.org record CVE-2025-52472](https://www.cve.org/CVERecord?id=CVE-2025-52472)
- [NVD entry CVE-2025-52472](https://nvd.nist.gov/vuln/detail/CVE-2025-52472)
- [github.com](https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gprp-h92g-gc2h)
- [github.com](https://github.com/xwiki/xwiki-platform/commit/743ebf8696ffa55161ed2c5ecf26b09f69e6bcf1)
- [github.com](https://github.com/xwiki/xwiki-platform/commit/a45eca2af772abb7324e56d7fd2df1ac937bc445)
- [jira.xwiki.org](https://jira.xwiki.org/browse/XWIKI-23247)

---
Source page: https://erroneo.us/security/cve/CVE-2025-52472/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
