Read the docs
TI-2024-37141 Aliases CVE-2024-56158GHSA-prwh-7838-xf82

XWiki allows SQL injection in query endpoint of REST API with Oracle

Priority MEDIUM 49CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00512 43rd percentileScored 2026-11-07
Fix Fixed xwiki-platform (xwiki): 15.10.16, 16.4.7, 16.10.2org.xwiki.platform:xwiki-platform-oldcore (Maven): 15.10.16, 16.4.7, 16.10.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
XWikixwiki-platform1.0 to before 15.10.16; 16.0.0-rc-1 to before 16.4.7; 16.5.0-rc-1 to before 16.10.215.10.16, 16.4.7, 16.10.2Patch availableCNA
—org.xwiki.platform:xwiki-platform-oldcore (Maven)1.0 to before 15.10.1615.10.16Patch availableGHSA-prwh-7838-xf82
—org.xwiki.platform:xwiki-platform-oldcore (Maven)16.0.0-rc-1 to before 16.4.716.4.7Patch availableGHSA-prwh-7838-xf82
—org.xwiki.platform:xwiki-platform-oldcore (Maven)16.5.0-rc-1 to before 16.10.216.10.2Patch availableGHSA-prwh-7838-xf82
  • xwiki-platform VendorXWiki Affected 1.0 to before 15.10.16; 16.0.0-rc-1 to before 16.4.7; 16.5.0-rc-1 to before 16.10.2 Fixed in 15.10.16, 16.4.7, 16.10.2 Patch available CNA
  • org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 1.0 to before 15.10.16 Fixed in 15.10.16 Patch available GHSA-prwh-7838-xf82
  • org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 16.0.0-rc-1 to before 16.4.7 Fixed in 16.4.7 Patch available GHSA-prwh-7838-xf82
  • org.xwiki.platform:xwiki-platform-oldcore (Maven) Vendor— Affected 16.5.0-rc-1 to before 16.10.2 Fixed in 16.10.2 Patch available GHSA-prwh-7838-xf82

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*1.0 to before 15.10.16; 16.0.0 to before 16.4.7; 16.5.0 to before 16.10.2VulnerableXWiki
  • cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 1.0 to before 15.10.16; 16.0.0 to before 16.4.7; 16.5.0 to before 16.10.2 Vulnerable ·XWiki

Remediation

  • Fix · CNA xwiki-platform (xwiki) Fixed in 15.10.16, 16.4.7, 16.10.2
  • Fix · GHSA-prwh-7838-xf82 org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 15.10.16 Advisory →
  • Fix · GHSA-prwh-7838-xf82 org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 16.4.7 Advisory →
  • Fix · GHSA-prwh-7838-xf82 org.xwiki.platform:xwiki-platform-oldcore (Maven) Fixed in 16.10.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-56158
  2. 2026-10-03 Alias added: GHSA-prwh-7838-xf82

References

  • TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
  • TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
  • TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
  • TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
  • TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
See all 247 →

Sources