Skip to main content

CVE-2026-61689 — XWiki Platform: HQL injection in...

HIGH

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

Published November 19, 2026Updated November 19, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.96%). Schedule for your next planned update.

Does your project use an affected org.xwiki.platform:xwiki-platform-rest-server version?

Paste your pom.xml to check it for CVE-2026-61689 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

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.

Advisory Timeline

  • First published November 19, 2026 (7 days ago).
  • Last revised November 19, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.xwiki.platform:xwiki-platform-rest-server to 18.2.0 or later
<!-- Update pom.xml dependency version to 18.2.0 for org.xwiki.platform:xwiki-platform-rest-server -->
Maven
Update org.xwiki.platform:xwiki-platform-rest-server to 16.10.18 or later
<!-- Update pom.xml dependency version to 16.10.18 for org.xwiki.platform:xwiki-platform-rest-server -->
Maven
Update org.xwiki.platform:xwiki-platform-rest-server to 17.10.5 or later
<!-- Update pom.xml dependency version to 17.10.5 for org.xwiki.platform:xwiki-platform-rest-server -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.xwiki.platform:xwiki-platform-rest-server Maven · Affected: All versions18.2.0
org.xwiki.platform:xwiki-platform-rest-server Maven · Affected: All versions16.10.18
org.xwiki.platform:xwiki-platform-rest-server Maven · Affected: All versions17.10.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2026-61689?
XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.2/10).
How do I check if my project is affected by CVE-2026-61689?
CVE-2026-61689 affects org.xwiki.platform:xwiki-platform-rest-server. It has a 1.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-61689 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.2

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.96%
EPSS percentile: 60.1

This is an above-median EPSS score — 60.1% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-jmmc-wjpc-pg34

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml