Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents extreme real-world risk. The CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H vector confirms: network-accessible, low attack complexity, no privileges required, no user interaction, and unrestricted scope with complete compromise of CIA triad. The pre-authentication requirement (PR:N) combined with network accessibility (AV:N) means any internet-connected XWiki instance is exploitable by unauthenticated attackers. While KEV status and EPSS data are not provided in the context, the combination of unauthenticated remote SQL injection, database function escalation, and the 9.8 CVSS score indicates this is a critical priority vulnerability with high likelihood of active exploitation. The low attack complexity (AC:L) means no special conditions or timing are required—straightforward HTTP requests can trigger code execution. This is not a theoretical high-CVSS issue; it is a practical, immediately exploitable vulnerability affecting production Wiki systems. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies a publicly accessible XWiki instance (e.g., https://wiki.example.com) connected to an Oracle database. The attacker crafts an HTTP GET or POST request to a XWiki query endpoint (such as search, filter, or report generation features) and injects malicious HQL with embedded Oracle DBMS_XMLGEN functions: |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 14, 2026
Critical SQL injection vulnerability in XWiki that allows unauthenticated remote attackers to execute arbitrary SQL queries against Oracle databases by exploiting insufficient validation of native SQL functions (DBMS_XMLGEN, DBMS_XMLQUERY) in Hibernate query processing. The vulnerability affects XWiki versions before 16.10.2, 16.4.7, and 15.10.16, with a CVSS score of 9.8 indicating critical severity and complete compromise of confidentiality, integrity, and availability. This is a pre-authentication remote code execution vector with no user interaction required.
RemediationAI
Immediate patching is required: upgrade to XWiki 16.10.2, 16.4.7, or 15.10.16 depending on your current version line. For version 15.x: upgrade to 15.10.16 or later. For version 16.4.x: upgrade to 16.4.7 or later. For version 16.10.x: upgrade to 16.10.2 or later. Interim mitigations pending patch deployment: (1) Restrict network access to XWiki instances using firewall rules or WAF rules that block requests containing suspicious SQL function names (DBMS_XMLGEN, DBMS_XMLQUERY); (2) implement database-level access controls to limit SQL execution capabilities of the XWiki database user account; (3) disable or restrict use of Hibernate native query features if not required by application logic; (4) monitor database logs for suspicious function calls. However, these mitigations are not a substitute for patching and should only be temporary measures.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists at the intersection of XWiki's query validation layer and Hibernate ORM's native function support. XWiki uses Hibernate for database abstraction, which permits native SQL functions in HQL (Hibernate Query Language) queries. The XWiki query validator fails to properly sanitize or blocklist Oracle-specific functions like DBMS_XMLGEN and DBMS_XMLQUERY, which are privileged PL/SQL packages that can be abused to execute arbitrary SQL. This is rooted in CWE-89 (SQL Injection) where user-controllable input reaches SQL execution contexts without proper parameterization or validation. The root cause is inadequate input validation combined with overly permissive Hibernate function resolution, allowing attackers to bypass intended security controls by leveraging database-native capabilities that the validator does not account for.
Know when Xwiki gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
XWiki is a generic wiki platform. It's possible to execute any SQL query in Oracle by using the function like DBMS_XMLGEN or DBMS_XMLQUERY. The XWiki query validator does not sanitize functions that would be used in a simple select and Hibernate allows using any native function in an HQL query. This vulnerability is fixed in 16.10.2, 16.4.7, and 15.10.16.
Executive ViewAI
XWiki instances using Oracle databases face critical SQL injection vulnerability allowing unauthorized database access and potential data exfiltration. Organizations running affected XWiki versions must take immediate action as patches are available but exploitation risk is elevated with 70% likelihood of active exploitation attempts.
Until patches applied: (1) Disable or restrict access to XWiki query/search functionality if possible; (2) Implement network segmentation restricting XWiki application server to read-only database connections with minimal required privileges; (3) Deploy WAF rules blocking DBMS_XMLGEN and DBMS_XMLQUERY function calls in HTTP requests; (4) Enable Oracle database audit logging for all XWiki user connections and flag any DDL/DML operations; (5) Implement IP whitelisting to limit XWiki application access to known sources only.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
XWiki Platform allows unauthenticated remote code execution through the SolrSearch endpoint, enabling guests to execute
XWiki Platform prior to specific patched versions contains a CVSS 10.0 remote code execution vulnerability through the u
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated high seve
XWiki is a generic wiki platform. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitable, no aut
Remote code execution in XWiki Pro Macros 1.0 through 1.26.4 allows authenticated users who can edit at least one page o
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical
XWiki Commons are technical libraries common to several other top level XWiki projects. Rated critical severity (CVSS 9.
XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical
XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Unauthenticated HQL injection in the XWiki Platform REST search API lets remote attackers inject arbitrary Hibernate Que
EUVD-2024-54677
GHSA-prwh-7838-xf82
NVD
CVE.org
EPSS
Exploit-DB