Lookup for vulnerable packages by Package URL.

Purlpkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.2
Typemaven
Namespaceorg.xwiki.platform
Namexwiki-platform-oldcore
Version16.10.2
Qualifiers
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version16.10.3
Latest_non_vulnerable_version17.10.1
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-f872-dkzj-ufac
vulnerability_id VCID-f872-dkzj-ufac
summary
XWiki allows SQL injection in query endpoint of REST API with Oracle
### Impact

It's possible to execute any SQL query in Oracle by using the function like [DBMS_XMLGEN or DBMS_XMLQUERY](https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_XMLGEN.html).

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.

### Patches

This has been patched in 16.10.2, 16.4.7 and 15.10.16.

### Workarounds

There is no known workaround, other than upgrading XWiki.

### References

https://jira.xwiki.org/browse/XWIKI-22734

### For more information

If you have any questions or comments about this advisory:
* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)
* Email us at [Security Mailing List](mailto:security@xwiki.org)
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2024-56158
reference_id
reference_type
scores
0
value 0.0071
scoring_system epss
scoring_elements 0.72197
published_at 2026-04-02T12:55:00Z
1
value 0.0071
scoring_system epss
scoring_elements 0.72193
published_at 2026-04-07T12:55:00Z
2
value 0.0071
scoring_system epss
scoring_elements 0.72217
published_at 2026-04-04T12:55:00Z
3
value 0.01603
scoring_system epss
scoring_elements 0.81753
published_at 2026-04-21T12:55:00Z
4
value 0.01603
scoring_system epss
scoring_elements 0.81712
published_at 2026-04-13T12:55:00Z
5
value 0.01603
scoring_system epss
scoring_elements 0.81718
published_at 2026-04-12T12:55:00Z
6
value 0.01603
scoring_system epss
scoring_elements 0.81731
published_at 2026-04-11T12:55:00Z
7
value 0.01603
scoring_system epss
scoring_elements 0.81711
published_at 2026-04-09T12:55:00Z
8
value 0.01603
scoring_system epss
scoring_elements 0.81707
published_at 2026-04-08T12:55:00Z
9
value 0.01603
scoring_system epss
scoring_elements 0.8175
published_at 2026-04-18T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2024-56158
1
reference_url https://github.com/xwiki/xwiki-platform
reference_id
reference_type
scores
0
value 9.3
scoring_system cvssv4
scoring_elements 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
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/xwiki/xwiki-platform
2
reference_url https://github.com/xwiki/xwiki-platform/commit/ce855aae38eefd8ee3fc86353d51ac03d6cb7f8d
reference_id
reference_type
scores
0
value 9.3
scoring_system cvssv4
scoring_elements 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
1
value CRITICAL
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2025-06-12T15:23:16Z/
url https://github.com/xwiki/xwiki-platform/commit/ce855aae38eefd8ee3fc86353d51ac03d6cb7f8d
3
reference_url https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-prwh-7838-xf82
reference_id
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
1
value 9.3
scoring_system cvssv4
scoring_elements 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
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2025-06-12T15:23:16Z/
url https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-prwh-7838-xf82
4
reference_url https://jira.xwiki.org/browse/XWIKI-22734
reference_id
reference_type
scores
0
value 9.3
scoring_system cvssv4
scoring_elements 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
1
value CRITICAL
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2025-06-12T15:23:16Z/
url https://jira.xwiki.org/browse/XWIKI-22734
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2024-56158
reference_id
reference_type
scores
0
value 9.3
scoring_system cvssv4
scoring_elements 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
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2024-56158
6
reference_url https://github.com/advisories/GHSA-prwh-7838-xf82
reference_id GHSA-prwh-7838-xf82
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-prwh-7838-xf82
fixed_packages
0
url pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10.16
purl pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10.16
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10.16
1
url pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.4.7
purl pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.4.7
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.4.7
2
url pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.2
purl pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.2
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.2
aliases CVE-2024-56158, GHSA-prwh-7838-xf82
risk_score 4.5
exploitability 0.5
weighted_severity 9.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-f872-dkzj-ufac
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.2