WaratekVRT Sign in

CVE-2025-52472

Severity9.3 Critical CVSS 4.0
Fixed in17.4.2, 16.10.9
WeaknessSQL injection (CWE-89)
Published6 Oct 2025
Updated3 Nov 2026

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.

Exploitation status

Exploited

Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.

  • CISA KEV not listed
  • VulnCheck KEV listed Exploitation reported in the wild. 1 citation · earliest 2025-11-27.
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed Published artifacts you can open, in Nuclei.
  • EPSS 2.4% chance in 30 days

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2025-52472 in VulnCheck (free account).

EvidenceSourceDetailDate
Reported exploitation app.crowdsec.net /cti/cve-explorer/CVE-2025-52472 2025-11-27
IndexArtifactStarsFirst seen
Nuclei XWiki - HQL Injection

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action feasible
  • Review human Researcher
  • Record active
Decided by A researcher's recorded decision for this specific CVE
Finding A researcher set this CVE's status to Mitigation candidate.

Waratek research note

written 2026-11-13

Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.

Comments

HQL injection in XWiki's REST search API through the orderField parameter, reachable unauthenticated. The SQL rule does not detect SQL injection through Hibernate HQL queries (PM-79). Reproduced on XWiki 16.10.8 with PostgreSQL: an orderField payload that stays valid HQL injects or 1=1 and returns every page, with no event from the SQL rule.

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.platform:xwiki-platform-rest-server 17.0.0-rc-1 17.4.2 unbounded
org.xwiki.platform:xwiki-platform-rest-server 4.3-milestone-1 16.10.9 unbounded

Products and versions

1 product, 2 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.platform xwiki-platform-rest-server generic ≥ 4.3 and < 16.10.9 · ≥ 17.0.0 and < 17.4.2

References

URLTags
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gprp-h92g-gc2h WEB
https://github.com/xwiki/xwiki-platform/commit/743ebf8696ffa55161ed2c5ecf26b09f69e6bcf1 WEB
https://github.com/xwiki/xwiki-platform/commit/a45eca2af772abb7324e56d7fd2df1ac937bc445 WEB
https://github.com/xwiki/xwiki-platform PACKAGE
https://jira.xwiki.org/browse/XWIKI-23247 WEB

Timeline

Published2025-10-06By the CVE Program.
VulnCheck KEV: earliest evidence2025-11-27Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
NVD record modified2026-10-09NVD's own last-modified date for this record.
Last VRT activity2026-11-03Most recent commit touching this CVE's classification, patch or rule file.
Classification created2026-11-13First commit adding this CVE's research note.