Skip to content

xwiki-platform

XWiki Platform vulnerable to HQL injection via wiki and space search REST API

CVE-2025-52472Published 6 Oct 2025, 14:53 UTC

Real-world risk

10.0/ 10Critical

Act now

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.3

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
xwiki-platformCommon>= 4.3-milestone-1, < 16.10.9; >= 17.0.0-rc-1, < 17.4.216.10.9, 17.4.2

What to do

Update to a fixed version: 16.10.9, 17.4.2.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Nuclei scanner template (link)

EPSS 2.4% chance of exploitation in 30 days (percentile 84), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T4: Weaponized1.000
  3. 10 × impact 1 × prerequisites 1 × threat 110.000
  4. Rounded to one decimal between 0.1 and 1010.0

How the score works

Exploitation and evidence timeline

  1. 6 Oct 2025 Published
  2. 3 Dec 2026 Nuclei scanner template first seen
  3. 3 Dec 2026 Risk 10.0 (cvss fallback)

Weakness

CWE-89

References

Get alerts for xwiki-platform

Free email or text alerts when a vulnerability in xwiki-platform reaches risk 8 or higher. Nothing else.

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