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.
Advisories
Source ID Title
EUVD EUVD EUVD-2024-54677 XWiki allows SQL injection in query endpoint of REST API with Oracle
Github GHSA Github GHSA GHSA-prwh-7838-xf82 XWiki allows SQL injection in query endpoint of REST API with Oracle
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 13 Jan 2026 00:00:00 +0900


Thu, 04 Sep 2025 03:00:00 +0900

Type Values Removed Values Added
First Time appeared Xwiki xwiki
CPEs cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
Vendors & Products Xwiki xwiki
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Mon, 14 Jul 2025 22:45:00 +0900

Type Values Removed Values Added
Metrics epss

{'score': 0.00061}

epss

{'score': 0.00065}


Fri, 13 Jun 2025 01:15:00 +0900

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 13 Jun 2025 00:00:00 +0900

Type Values Removed Values Added
Description 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.
Title XWiki allows SQL injection in query endpoint of REST API with Oracle
Weaknesses CWE-89
References
Metrics cvssV4_0

{'score': 9.3, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-12T14:43:46.541Z

Reserved: 2024-12-17T18:16:49.853Z

Link: CVE-2024-56158

cve-icon Vulnrichment

Updated: 2025-06-12T15:23:18.890Z

cve-icon NVD

Status : Modified

Published: 2025-06-12T15:15:38.967

Modified: 2026-01-12T15:16:01.537

Link: CVE-2024-56158

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-06-24T18:51:38Z

Weaknesses