CVE-2026-61689
Published:November 02, 2026
Updated:November 03, 2026
Impact The query REST API allows executing HQL queries to filter the listed pages. While this properly checks access rights for the current user, the query can be used to combine when clauses and blind queries, to recover values, through FROM clause injection to join BaseObject and StringProperty tables, bypassing the HQL validator's SELECT column whitelist. This allows recovering any data that is stored in the database, including data from inaccessible pages, password hashes and passwords stored in configuration properties. For a typical password hash, this requires about 800 requests to the REST API (about one per bit). It should be assumed that when using more complex techniques, this even works when the attacker cannot read any wiki page. Password hashes use salted SHA1 in XWiki which can be cracked offline for weak passwords. Further, the executed database queries could be slow, affecting the availability of the system. ### Patches The vulnerability has been fixed in XWiki 16.10.18, 17.10.5 and 18.2.0 by disabling the HQL and WXQL queries in the REST API by default. ### Workarounds The requests to the "/rest/wikis/{wikiName}/query" endpoint could be blocked at the web server/reverse proxy level. ### References * https://jira.xwiki.org/browse/XWIKI-24061 * https://github.com/xwiki/xwiki-platform/commit/ae540bc3def0d4a30210eb9bead4e559984b4462
Affected Packages
https://github.com/xwiki/xwiki-platform.git (GITHUB):
Affected version(s) >=xwiki-platform-4.3-milestone-1 <xwiki-platform-16.10.18 || >=xwiki-platform-5.0-milestone-1 <xwiki-platform-16.10.18 || >=xwiki-platform-6.0-milestone-1 <xwiki-platform-16.10.18 || >=xwiki-platform-7.0-milestone-1 <xwiki-platform-16.10.18 || >=xwiki-platform-8.0-milestone-1 <xwiki-platform-16.10.18 || >=xwiki-platform-9.0-rc-1 <xwiki-platform-16.10.18 || >=xwiki-platform-10.0 <xwiki-platform-16.10.18 || >=xwiki-platform-11.0 <xwiki-platform-16.10.18 || >=xwiki-platform-12.0-rc-1 <xwiki-platform-16.10.18 || >=xwiki-platform-13.0 <xwiki-platform-16.10.18 || >=xwiki-platform-14.0-rc-1 <xwiki-platform-16.10.18 || >=xwiki-platform-15.0-rc-1 <xwiki-platform-16.10.18 || >=xwiki-platform-16.0.0-rc-1 <xwiki-platform-16.10.18Fix Suggestion:
Update to version xwiki-platform-16.10.18https://github.com/xwiki/xwiki-platform.git (GITHUB):
Affected version(s) >=xwiki-platform-18.0.0-rc-1 <xwiki-platform-18.2.0Fix Suggestion:
Update to version xwiki-platform-18.2.0https://github.com/xwiki/xwiki-platform.git (GITHUB):
Affected version(s) >=xwiki-platform-17.0.0-rc-1 <xwiki-platform-17.10.5Fix Suggestion:
Update to version xwiki-platform-17.10.5org.xwiki.platform:xwiki-platform-rest-server (JAVA):
Affected version(s) >=18.0.0-rc-1 <18.2.0Fix Suggestion:
Update to version 18.2.0org.xwiki.platform:xwiki-platform-rest-server (JAVA):
Affected version(s) >=17.0.0-rc-1 <17.10.5Fix Suggestion:
Update to version 17.10.5org.xwiki.platform:xwiki-platform-rest-server (JAVA):
Affected version(s) >=8.0-milestone-1 <16.10.18 || >=11.0 <16.10.18 || >=5.0-milestone-1 <16.10.18 || >=4.3-milestone-1 <16.10.18 || >=13.0 <16.10.18 || >=12.0-rc-1 <16.10.18 || >=16.0.0-rc-1 <16.10.18 || >=9.0-rc-1 <16.10.18 || >=14.0-rc-1 <16.10.18 || >=6.0-milestone-1 <16.10.18 || >=7.0-milestone-1 <16.10.18 || >=10.0 <16.10.18 || >=15.0-rc-1 <16.10.18Fix Suggestion:
Update to version 16.10.18Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
LOW