Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/30213?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30213?format=api", "vulnerability_id": "VCID-f872-dkzj-ufac", "summary": "XWiki allows SQL injection in query endpoint of REST API with Oracle\n### Impact\n\nIt'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).\n\nThe 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.\n\n### Patches\n\nThis has been patched in 16.10.2, 16.4.7 and 15.10.16.\n\n### Workarounds\n\nThere is no known workaround, other than upgrading XWiki.\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-22734\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)", "aliases": [ { "alias": "CVE-2024-56158" }, { "alias": "GHSA-prwh-7838-xf82" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/68675?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/69929?format=api", "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" }, { "url": "http://public2.vulnerablecode.io/api/packages/70983?format=api", "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" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/45717?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@1.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1ep7-j2b3-duat" }, { "vulnerability": "VCID-4czm-tywp-h3er" }, { "vulnerability": "VCID-4fw7-4s5x-n3fv" }, { "vulnerability": "VCID-f872-dkzj-ufac" }, { "vulnerability": "VCID-kx6s-546m-gkdv" }, { "vulnerability": "VCID-q5t9-725x-dkb1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@1.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/55125?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.0.0-rc-1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-2act-yfey-vfgf" }, { "vulnerability": "VCID-f872-dkzj-ufac" }, { "vulnerability": "VCID-q2b9-583a-9yd9" }, { "vulnerability": "VCID-zv2f-hpz1-ruba" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.0.0-rc-1" }, { "url": "http://public2.vulnerablecode.io/api/packages/570348?format=api", "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.5.0-rc-1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-2act-yfey-vfgf" }, { "vulnerability": "VCID-3m9j-nt38-x3hq" }, { "vulnerability": "VCID-4n2t-crsf-87gr" }, { "vulnerability": "VCID-f872-dkzj-ufac" }, { "vulnerability": "VCID-p59s-q94b-9kb6" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.5.0-rc-1" } ], "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-56158", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.0071", "scoring_system": "epss", "scoring_elements": "0.72197", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.0071", "scoring_system": "epss", "scoring_elements": "0.72193", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.0071", "scoring_system": "epss", "scoring_elements": "0.72217", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.01603", "scoring_system": "epss", "scoring_elements": "0.8181", "published_at": "2026-05-05T12:55:00Z" }, { "value": "0.01603", "scoring_system": "epss", "scoring_elements": "0.81707", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.01603", "scoring_system": "epss", "scoring_elements": "0.81711", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.01603", "scoring_system": "epss", "scoring_elements": "0.81731", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.01603", "scoring_system": "epss", "scoring_elements": "0.81718", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.01603", "scoring_system": "epss", "scoring_elements": "0.81712", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.01603", "scoring_system": "epss", "scoring_elements": "0.8175", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.01603", "scoring_system": "epss", "scoring_elements": "0.81753", "published_at": "2026-04-21T12:55:00Z" }, { "value": "0.01603", "scoring_system": "epss", "scoring_elements": "0.81777", "published_at": "2026-04-24T12:55:00Z" }, { "value": "0.01603", "scoring_system": "epss", "scoring_elements": "0.81787", "published_at": "2026-04-26T12:55:00Z" }, { "value": "0.01603", "scoring_system": "epss", "scoring_elements": "0.81793", "published_at": "2026-04-29T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-56158" }, { "reference_url": "https://github.com/xwiki/xwiki-platform", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/xwiki/xwiki-platform" }, { "reference_url": "https://github.com/xwiki/xwiki-platform/commit/ce855aae38eefd8ee3fc86353d51ac03d6cb7f8d", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" }, { "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" }, { "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-prwh-7838-xf82", "reference_id": "", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" }, { "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" }, { "reference_url": "https://jira.xwiki.org/browse/XWIKI-22734", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" }, { "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" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-56158", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-56158" }, { "reference_url": "https://github.com/advisories/GHSA-prwh-7838-xf82", "reference_id": "GHSA-prwh-7838-xf82", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-prwh-7838-xf82" } ], "weaknesses": [ { "cwe_id": 89, "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')", "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." } ], "exploits": [], "severity_range_score": "9.0 - 10.0", "exploitability": "0.5", "weighted_severity": "9.0", "risk_score": 4.5, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f872-dkzj-ufac" }