XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes

State
Published
Severity
8.8 High
Published
Nov 17, 2026
Updated
Nov 21, 2026
Reserved
Jul 10, 2026

Read the record on cve.org

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.

ProductVersions
xwiki-platform xwiki>= 4.3-milestone-1, < 16.10.18 Affected>= 17.0.0-rc-1, < 17.10.5 Affected>= 18.0.0-rc-1, < 18.2.0 Affected

Weaknesses

  • CWE-943 Improper Neutralization of Special Elements in Data Query Logic

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.