{"cve":"CVE-2024-56158","nvd":{"published":"2025-06-12T15:15:38.967","modified":"2026-06-17T08:11:46.087","status":"Modified","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.","cvss_v4":{"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","score":9.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://github.com/xwiki/xwiki-platform/commit/ce855aae38eefd8ee3fc86353d51ac03d6cb7f8d","https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-prwh-7838-xf82","https://jira.xwiki.org/browse/XWIKI-22734"],"products":["xwiki:xwiki"],"source":"nvd","synced_at":"2026-10-19T22:02:23.998251710+00:00"},"epss":{"cve":"CVE-2024-56158","score":0.00512,"percentile":0.43671,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-prwh-7838-xf82","url":"https://osv.dev/vulnerability/GHSA-prwh-7838-xf82","summary":"XWiki allows SQL injection in query endpoint of REST API with Oracle","modified":"2026-02-03T03:02:46.256732Z","packages":[{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":[">=1.0 <15.10.16"],"fixed":["15.10.16"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":[">=16.0.0-rc-1 <16.4.7"],"fixed":["16.4.7"]},{"ecosystem":"Maven","name":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","ranges":[">=16.5.0-rc-1 <16.10.2"],"fixed":["16.10.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}