Vulnerability record · CVE-2025-32969 · published 23 April 2025
CVE-2025-32969: XWiki unauthenticated HQL escape leads to blind SQL injection
Xwiki · Xwiki
XWiki versions from 1.8 before 15.10.16, 16.4.6 and 16.10.1 allow a remote unauthenticated user to escape the HQL execution context and perform blind SQL injection against the database backend. The flaw bypasses the settings that block unregistered users from viewing or editing pages, so it is reachable even on hardened configurations. It matters because it exposes the database directly to unauthenticated attackers.
Description
XWiki is a generic wiki platform. In versions starting from 1.8 and prior to 15.10.16, 16.4.6, and 16.10.1, it is possible for a remote unauthenticated user to escape from the HQL execution context and perform a blind SQL injection to execute arbitrary SQL statements on the database backend, including when "Prevent unregistered users from viewing pages, regardless of the page rights" and "Prevent unregistered users from editing pages, regardless of the page rights" options are enabled. Depending on the used database backend, the attacker may be able to not only obtain confidential information such as password hashes from the database, but also execute UPDATE/INSERT/DELETE queries. This issue has been patched in versions 16.10.1, 16.4.6 and 15.10.16. There is no known workaround, other than upgrading XWiki.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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:
Automated analysis
critical priorityUnauthenticated remote SQL injection with CVSS 4.0 score 9.3, high EPSS and public exploit material, though not in KEV.
What it is
XWiki versions from 1.8 before 15.10.16, 16.4.6 and 16.10.1 allow a remote unauthenticated user to escape the HQL execution context and perform blind SQL injection against the database backend. The flaw bypasses the settings that block unregistered users from viewing or editing pages, so it is reachable even on hardened configurations. It matters because it exposes the database directly to unauthenticated attackers.
Impact
An attacker can read confidential data such as password hashes and, depending on the database backend, run UPDATE, INSERT and DELETE statements to alter or destroy data.
Attack surface
Reachable over the network with no authentication and no user interaction, per the CVSS 4.0 vector (AV:N/PR:N/UI:N). The description states the injection works even when unregistered users are prevented from viewing or editing pages.
Exploitation
Not listed in CISA KEV and no ransomware use documented. EPSS is 0.77774 (99.5th percentile), and the vendor advisory reference is tagged Exploit, indicating public exploit material exists.
What to do
- Upgrade to XWiki 16.10.1, 16.4.6 or 15.10.16; no workaround exists other than upgrading.
- If immediate upgrade is impossible, restrict network access to the XWiki instance to trusted users only.
- Rotate database credentials and any password hashes stored in the XWiki database after patching.
- Review database accounts used by XWiki and remove unnecessary UPDATE/INSERT/DELETE privileges where feasible.
Detection
- Monitor XWiki and database logs for anomalous HQL or SQL query patterns, especially blind-injection timing or boolean probes.
- Alert on database queries originating from unauthenticated XWiki sessions or unexpected source contexts.
- Audit database activity for unexpected UPDATE, INSERT or DELETE statements against XWiki tables.
- Watch for access to XWiki endpoints from unauthenticated clients that precede unusual database load or errors.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/xwiki/xwiki-platform/commit/5c11a874bd24a581f534d283186e209bbccd8113 | Patch |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-f69v-xrj8-rhxf | ExploitVendor Advisory |
| https://jira.xwiki.org/browse/XWIKI-22691 | Issue TrackingVendor Advisory |
Track CVE-2025-32969 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2025-32969), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.