CVE-2026-61689: XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes

Published Nov 17, 2026
·
Updated

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 Software

1 affected component
XWiki XWiki Platform>=4.3-milestone-1<16.10.18, >=4.3-milestone-1<17.10.5, >=4.3-milestone-1<18.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade XWiki Platform to a version that resolves this vulnerability.

    Fixed in 16.10.18
  2. Upgrade

    Upgrade XWiki Platform to a version that resolves this vulnerability.

    Fixed in 17.10.5
  3. Upgrade

    Upgrade XWiki Platform to a version that resolves this vulnerability.

    Fixed in 18.2.0
  4. Configuration

    Disable HQL and XWQL REST queries by default.

    XWiki Platform HQL and XWQL REST queries = disabled by default

Event History

Nov 17, 2026
CVE Published
via MITRE·09:25 PM
Data Sourced
via MITRE·09:25 PM
DescriptionWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203