---
id: CVE-2025-52472
title: >-
  XWiki Platform is a generic wiki platform offering runtime services for
  applications built on top of it
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 inje…
severity: none
cwe:
  - CWE-89
published: '2025-10-06'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T10:10:00.193'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-52472'
references:
  - url: >-
      https://github.com/xwiki/xwiki-platform/commit/743ebf8696ffa55161ed2c5ecf26b09f69e6bcf1
    label: security-advisories@github.com
  - url: >-
      https://github.com/xwiki/xwiki-platform/commit/a45eca2af772abb7324e56d7fd2df1ac937bc445
    label: security-advisories@github.com
  - url: >-
      https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gprp-h92g-gc2h
    label: security-advisories@github.com
  - url: 'https://jira.xwiki.org/browse/XWIKI-23247'
    label: security-advisories@github.com
tags:
  - nvd
  - exploit-available
epss: 0.02365
epssPercentile: 0.83285
exploits:
  nuclei:
    - CVE-2025-52472
  checkedAt: '2026-10-09T12:54:06.035Z'
exploitAvailable: true
ingestedAt: '2026-10-09T12:53:28.906Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
