CVE-2025-52472

CRITICAL EXPLOITED NUCLEI

XWiki Platform 4.3-milestone-1-16.10.8, 17.0.0-rc-1-17.4.1 - SQL Injection via REST Search orderField Parameter

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2025-52472 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 1 public exploit from researchers including iSee857. A Nuclei detection template is also available.

AI-analyzed exploit summary The repository contains a functional exploit for CVE-2026-22812, targeting OpenCode's command execution vulnerability. The script sends a crafted JSON payload to the '/session' endpoint to establish a session, then executes arbitrary commands via the '/session/{id}/shell' endpoint.

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.

Exploits (1)

github WORKING POC 40 stars
by iSee857 · pythonpoc
https://github.com/iSee857/CVE-PoC/tree/main/XWiki-CVE-2025-52472-HQLInjection.py

The repository contains a functional exploit for CVE-2026-22812, targeting OpenCode's command execution vulnerability. The script sends a crafted JSON payload to the '/session' endpoint to establish a session, then executes arbitrary commands via the '/session/{id}/shell' endpoint.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OpenCode (version not specified)
No auth needed
Prerequisites: Network access to the target · OpenCode service running on the target
devstral-2 · analyzed Feb 27, 2026 Full analysis →

Nuclei Templates (1)

XWiki - HQL Injection
HIGHVERIFIEDby ritikchaddha
Shodan: html:"data-xwiki-reference"
FOFA: body="data-xwiki-reference"

Scores

CVSS v4 9.3
EPSS 0.0034
EPSS Percentile 57.4%
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

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

VulnCheck KEV 2025-11-27
CWE
CWE-89
Status published
Products (3)
org.xwiki.platform/xwiki-platform-rest-server 17.0.0-rc-1 - 17.4.2Maven
xwiki/xwiki-platform >= 17.0.0-rc-1, < 17.4.2
xwiki/xwiki-platform >= 4.3-milestone-1, < 16.10.9
Published Oct 06, 2025
Tracked Since Feb 18, 2026