{"vuln_id":"CVE-2026-61689","aliases":["GHSA-jmmc-wjpc-pg34"],"description":"XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes","published_at":"2026-11-17T22:19:20.573000Z","modified_at":"2026-11-21T03:17:03.760000Z","first_seen_at":"2026-11-21T19:15:19.482006Z","severity":"high","severity_source":"nvd","cvss_score":8.8,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-943"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00801,"epss_percentile":0.57519,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-61689"},"matched_alias":null,"items":[{"id":10998,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-jmmc-wjpc-pg34: XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes","summary":"XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes\n\n### Impact\nThe 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.\n\n### Patches\nThe 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.\n\n### Workarounds\nThe requests to the `/rest/wikis/{wikiName}/query` endpoint could be blocked at the web server/reverse proxy level.\n\nAffected: Maven:org.xwiki.platform:xwiki-platform-rest-server\n\nFixed in: 16.10.18, 18.2.0, 17.10.5\n\nReferences:\nhttps://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jmmc-wjpc-pg34\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-61689\nhttps://github.com/xwiki/xwiki-platform/commit/4d6a2cd9cd049d0c31823ce47bff0a95667967e3\nhttps://github.com/xwiki/xwiki-platform/commit/62b034daceead8e292244d6c9e651c0ee8b1354c\nhttps://github.com/xwiki/xwiki-platform/commit/ae540bc3def0d4a30210eb9bead4e559984b4462\nhttps://github.com/xwiki/xwiki-platform/commit/b63d383f2e2a41826c21a76d678b9b0e1ab0ce52\nhttps://github.com/xwiki/xwiki-platform\nhttps://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-16.10.18","url":"https://osv.dev/vulnerability/GHSA-jmmc-wjpc-pg34","published_at":"2026-11-19T20:44:32Z","updated_at":"2026-11-19T21:00:04.086926Z","fetched_at":"2026-11-21T19:15:55.946359Z","severity":"high","cvss_score":8.8,"epss":0.00801,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"org.xwiki.platform:xwiki-platform-rest-server","vuln_id":"CVE-2026-61689","vuln_ids":["CVE-2026-61689","GHSA-JMMC-WJPC-PG34"],"tags":["osv","maven","fix-available"],"cluster_id":2223,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10998","html":"https://vulnwatch.ve1ve2.com/item/10998"}},{"id":2397,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-jmmc-wjpc-pg34 / CVE-2026-61689: XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes","summary":"XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes\n\n### Impact\nThe 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.\n\n### Patches\nThe 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.\n\n### Workarounds\nThe requests to the `/rest/wikis/{wikiName}/query` endpoint could be blocked at the web server/reverse proxy level.\n\nAffected packages: maven:org.xwiki.platform:xwiki-platform-rest-server\nPatched: org.xwiki.platform:xwiki-platform-rest-server 16.10.18, org.xwiki.platform:xwiki-platform-rest-server 18.2.0, org.xwiki.platform:xwiki-platform-rest-server 17.10.5","url":"https://github.com/advisories/GHSA-jmmc-wjpc-pg34","published_at":"2026-11-19T20:44:32Z","updated_at":"2026-11-19T20:44:33Z","fetched_at":"2026-11-21T19:15:18.416805Z","severity":"high","cvss_score":8.8,"epss":0.00801,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"org.xwiki.platform:xwiki-platform-rest-server","vuln_id":"CVE-2026-61689","vuln_ids":["CVE-2026-61689","GHSA-JMMC-WJPC-PG34"],"tags":["ghsa","maven","CWE-943"],"cluster_id":2223,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2397","html":"https://vulnwatch.ve1ve2.com/item/2397"}},{"id":7455,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-61689: 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…","summary":"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.\n\nReferences:\nhttps://github.com/xwiki/xwiki-platform/commit/4d6a2cd9cd049d0c31823ce47bff0a95667967e3\nhttps://github.com/xwiki/xwiki-platform/commit/62b034daceead8e292244d6c9e651c0ee8b1354c\nhttps://github.com/xwiki/xwiki-platform/commit/ae540bc3def0d4a30210eb9bead4e559984b4462\nhttps://github.com/xwiki/xwiki-platform/commit/b63d383f2e2a41826c21a76d678b9b0e1ab0ce52\nhttps://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-16.10.18\nhttps://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.10.5\nhttps://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-18.2.0\nhttps://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jmmc-wjpc-pg34","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61689","published_at":"2026-11-17T22:19:20.573000Z","updated_at":"2026-11-21T03:17:03.760000Z","fetched_at":"2026-11-21T19:15:31.483356Z","severity":"high","cvss_score":8.8,"epss":0.00801,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-61689","vuln_ids":["CVE-2026-61689","GHSA-JMMC-WJPC-PG34"],"tags":["CWE-943"],"cluster_id":2224,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/7455","html":"https://vulnwatch.ve1ve2.com/item/7455"}}]}