XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes
CVE-2026-61689Published 17 Nov 2026, 21:25 UTC
Real-world risk
6.8/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
XWiki Platform is a generic wiki platform. From 4.3-milestone-1 until 16.10.18, 17.10.5, and 18.2.0, the /rest/wikis/{wikiName}/query REST endpoint permits HQL query construction that can combine blind conditions with FROM-clause injection to join BaseObject and StringProperty, bypassing the SELECT-column whitelist. An unauthenticated attacker can recover database values from inaccessible pages, including salted SHA1 password hashes and passwords stored in configuration properties. It should be assumed that, with more complex techniques, this can work even when the attacker cannot read any wiki page. A typical password hash may require roughly 800 requests, and expensive injected queries can also degrade availability. The issue is remediated by disabling HQL and XWQL REST queries by default. This issue is fixed in versions 16.10.18, 17.10.5, and 18.2.0.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| xwiki-platformCommon | >= 4.3-milestone-1, < 16.10.18; >= 17.0.0-rc-1, < 17.10.5; >= 18.0.0-rc-1, < 18.2.0 | 16.10.18, 17.10.5, 18.2.0 |
What to do
Update to a fixed version: 16.10.18, 17.10.5, 18.2.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.8% chance of exploitation in 30 days (percentile 58), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 1 × threat 0.856.800
- Rounded to one decimal between 0.1 and 106.8
Exploitation and evidence timeline
- 17 Nov 2026 Published
- 3 Dec 2026 Risk 6.8 (cvss fallback)
Weakness
CWE-943
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jmmc-wjpc-pg34vendor-advisory
- https://github.com/xwiki/xwiki-platform/commit/4d6a2cd9cd049d0c31823ce47bff0a95667967e3misc
- https://github.com/xwiki/xwiki-platform/commit/62b034daceead8e292244d6c9e651c0ee8b1354cmisc
- https://github.com/xwiki/xwiki-platform/commit/ae540bc3def0d4a30210eb9bead4e559984b4462misc
- https://github.com/xwiki/xwiki-platform/commit/b63d383f2e2a41826c21a76d678b9b0e1ab0ce52misc
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-16.10.18misc
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.10.5misc
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-18.2.0misc
- CVE-2026-61689 on CVE.org