CVE-2025-52472

Critical

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.

SeverityCritical
CVSS9.3
Exploit probability—
ProductOrg.xwiki.platform:xwiki-platform-rest-server
PublishedOct 6, 2025
First seenOct 6, 2025
Weakness typeCWE-89SQL injection

How to fix

Update
  • org.xwiki.platform:xwiki-platform-rest-server17.4.2, 16.10.9 or later

Affected products

ProductAffected versionsFixed in
org.xwiki.platform:xwiki-platform-rest-serverMaven17.0.0-rc-1 ≤ v < 17.4.2, 4.3-milestone-1 ≤ v < 16.10.917.4.2, 16.10.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.