home / blog

2026-12-01 · high

CVE-2026-61689: HQL injection vulnerability in XWiki Platform

HQL injection vulnerability allows unauthenticated extraction of password hashes and sensitive data from database.

CVE-2026-61689: HQL injection vulnerability in XWiki Platform

CVE-2026-61689 is a serious vulnerability in XWiki Platform affecting REST endpoints /rest/wikis/{wikiName}/query in versions from 4.3-milestone-1 up to 16.10.18, 17.10.5, and 18.2.0. HQL injection combined with SELECT whitelist bypass allows unauthenticated attackers to recover database values, including SHA1 password hashes and passwords stored in configurations.

The vulnerability has a CVSS score of 8.8 (high) and is confirmed on NVD. Signals indicate the existence of public exploits on GitHub, with PoC and test lab available. Performance degradation and risk of credential exposure make it particularly severe.

Immediately update XWiki Platform to version 16.10.18, 17.10.5, or 18.2.0, which disables HQL and XWQL REST queries by default. Implement authentication measures for REST endpoint access and monitor suspicious database query activities.

At a glance

What
HQL injection in REST endpoint /rest/wikis/{wikiName}/query allowing extraction of sensitive database data
Severity
8.8 (high)
Affected versions
From 4.3-milestone-1 up to 16.10.18, 17.10.5, and 18.2.0
Fix
Update to version 16.10.18, 17.10.5, or 18.2.0 which disables HQL and XWQL REST queries by default
Status
Published on NVD on 2026-11-17
Action
Apply patch immediately

Sources: NVD, CVE-2026-61689

← All articles