CVE-2026-61689
XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes
Also known as GHSA-jmmc-wjpc-pg34
Mitigation
- Upgrade org.xwiki.platform:xwiki-platform-rest-server to one of 16.10.18, 18.2.0, 17.10.5 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.xwiki.platform:xwiki-platform-rest-server (>= 4.3-milestone-1, < 16.10.18)
- Anyone running xwiki-platform >= 4.3-milestone-1, < 16.10.18; >= 17.0.0-rc-1, < 17.10.5; >= 18.0.0-rc-1, < 18.2.0
Vulnerability facts
- Affected
- org.xwiki.platform:xwiki-platform-rest-server >= 4.3-milestone-1, < 16.10.18
- Fixed in
- 16.10.18, 18.2.0, 17.10.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.8 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.96% chance of exploitation in 30 days (percentile 60, 2026-11-26)
- CWE
- CWE-943
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.xwiki.platform:xwiki-platform-rest-server | >= 4.3-milestone-1, < 16.10.18 | 16.10.18, 18.2.0, 17.10.5 | ghsa |
| xwiki-platform | >= 4.3-milestone-1, < 16.10.18; >= 17.0.0-rc-1, < 17.10.5; >= 18.0.0-rc-1, < 18.2.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-61689. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-61689.md Affected: org.xwiki.platform:xwiki-platform-rest-server >= 4.3-milestone-1, < 16.10.18 Fixed in: 16.10.18, 18.2.0, 17.10.5 Steps: 1. Search this machine and project for org.xwiki.platform:xwiki-platform-rest-server (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Patches
- https://github.com/xwiki/xwiki-platform/commit/4d6a2cd9cd049d0c31823ce47bff0a95667967e3
- https://github.com/xwiki/xwiki-platform/commit/62b034daceead8e292244d6c9e651c0ee8b1354c
- https://github.com/xwiki/xwiki-platform/commit/ae540bc3def0d4a30210eb9bead4e559984b4462
- https://github.com/xwiki/xwiki-platform/commit/b63d383f2e2a41826c21a76d678b9b0e1ab0ce52
Other
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-16.10.18
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.10.5
- https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-18.2.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-61689
- https://jira.xwiki.org/browse/XWIKI-24061
- https://github.com/advisories/GHSA-jmmc-wjpc-pg34
FAQ
Is CVE-2026-61689 being exploited?
There is no confirmed exploitation: CVE-2026-61689 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.96% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-61689?
High: CVSS 8.8 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-61689?
org.xwiki.platform:xwiki-platform-rest-server >= 4.3-milestone-1, < 16.10.18.
Is there a fix for CVE-2026-61689?
Yes. Fixed in 16.10.18, 18.2.0, 17.10.5. Upgrade org.xwiki.platform:xwiki-platform-rest-server to one of 16.10.18, 18.2.0, 17.10.5 (or later in the same release line).
How do I check if I'm affected by CVE-2026-61689?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.