search · XWiki Platform: HQL injection
Affects org.xwiki.platform:xwiki-platform-rest-serverSource GCVE Database
Not known to be exploited · CVSS 8.8 High : upgrade to 16.10.18 soon.
Data as of 19 Nov 2026, 21:05 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.8 |
|---|
- Patch
- Available – fixed in 16.10.18, 18.2.0, 17.10.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 19 Nov 2026.
What to do
Upgrade org.xwiki.platform:xwiki-platform-rest-server to 16.10.18; org.xwiki.platform:xwiki-platform-rest-server to 18.2.0; org.xwiki.platform:xwiki-platform-rest-server to 17.10.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Mavenorg.xwiki.platform:xwiki-platform-rest-server | Affected
| Fixed in
|
| Mavenorg.xwiki.platform:xwiki-platform-rest-server | Affected
| Fixed in
|
| Mavenorg.xwiki.platform:xwiki-platform-rest-server | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patches by upgrading to XWiki versions 16.10.18, 17.10.5, or 18.2.0 or later, which disable HQL and WXQL queries in the REST API by default. As a workaround, block requests to the /rest/wikis/{wikiName}/query endpoint at the web server or reverse proxy level to prevent exploitation.
Description
A high-severity HQL injection vulnerability in XWiki Platform's REST API allows unauthenticated attackers to extract arbitrary database data, including password hashes. The flaw arises from the query REST API permitting crafted HQL queries that bypass access controls and whitelist checks. Exploitation requires multiple requests but can recover sensitive data even from inaccessible pages. The vulnerability has been fixed in versions 16.10.18, 17.10.5, and 18.2.0 by disabling HQL queries in the REST API by default. Blocking the affected REST endpoint at the web server or proxy level is a viable workaround.
References
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-jmmc-wjpc-pg34 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-61689 (opens in a new tab)
- github.com/xwiki/xwiki-platform/commit/4d6a2cd9cd049d0c31823ce47bff0a95667967e3 (opens in a new tab)
- github.com/xwiki/xwiki-platform/commit/62b034daceead8e292244d6c9e651c0ee8b1354c (opens in a new tab)
- github.com/xwiki/xwiki-platform/commit/ae540bc3def0d4a30210eb9bead4e559984b4462 (opens in a new tab)
- github.com/xwiki/xwiki-platform/commit/b63d383f2e2a41826c21a76d678b9b0e1ab0ce52 (opens in a new tab)
- github.com/xwiki/xwiki-platform (opens in a new tab)
- github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-16.10.18 (opens in a new tab)
- github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.10.5 (opens in a new tab)
- github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-18.2.0 (opens in a new tab)
- jira.xwiki.org/browse/XWIKI-24061 (opens in a new tab)