Skip to main content
VulnerabilityPublished

CVE-2025-52472: xwiki-platform · SQL Injection

Affects xwiki-platformSource CVE Database V5

0

Not known to be exploited · public detection template (Nuclei) · CVSS 9.3 Critical · fixed in 17.5.0 : patch xwiki-platform as a priority.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 4.0 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
2.3% chance of exploitation in 30 days – higher than 83% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 17.5.0
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 evidence

  1. Disclosed: evidence found.

    CVE published 6 Oct 2025

  2. Detectable: evidence found.

    nuclei template: XWiki - HQL Injection

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate CVE-2025-52472, European organizations should immediately upgrade affected XWiki Platform instances to versions 16.10.9, 17.4.2, or 17.5.0 where the vulnerability has been patched. Since no workarounds exist, patching is the primary defense. Organizations should also audit their deployment configurations to ensure that the REST API endpoints are not unnecessarily exposed to untrusted networks. Implement network-level controls such as web application firewalls (WAFs) with custom rules to detect and block suspicious HQL injection patterns targeting the orderField parameter. Conduct thorough logging and monitoring of REST API access to identify anomalous query patterns indicative of exploitation attempts. Additionally, review and restrict permissions for users and services interacting with the XWiki platform to minimize potential damage from a successful attack. Regularly update and test incident response plans to handle potential exploitation scenarios. Finally, educate developers and administrators on secure coding and parameter validation practices to prevent similar injection flaws in custom extensions or integrations.

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.

References

Community reviews

Loading reviews…