Lookup for vulnerable packages by Package URL.

GET /api/packages/68675?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/68675?format=api",
    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10.16",
    "type": "maven",
    "namespace": "org.xwiki.platform",
    "name": "xwiki-platform-oldcore",
    "version": "15.10.16",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "16.0.0",
    "latest_non_vulnerable_version": "17.10.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/25453?format=api",
            "vulnerability_id": "VCID-2act-yfey-vfgf",
            "summary": "org.xwiki.platform:xwiki-platform-oldcore allows SQL injection in short form select requests through the script query API\n### Impact\n\nIt is possible for a user with SCRIPT right to escape from the HQL execution context and perform a blind SQL injection to execute arbitrary SQL statements on the database backend.\n\nDepending on the used database backend, the attacker may be able to not only obtain confidential information such as password hashes from the database, but also execute UPDATE/INSERT/DELETE queries.\n\nThe vulnerability may be tested in a default installation of XWIki Standard Flavor, including using the official Docker containers.\n\nFor example, with a MySQL or MariaDB database, you can use the following script (which a user having SCRIPT right but not PROGRAMMING right) to get the content of the xwikistrings table (which contain all the short string fields stored in objects, including passwords):\n\n```\n{{velocity}}\n$services.query.hql(\"where 1<>'1\\'' union select concat(XWS_NAME, XWS_VALUE) from xwikistrings #'\").execute()\n{{/velocity}}\n```\n\n### Patches\n\nThis has been patched in 16.10.1, 16.4.6 and 15.10.16.\n\n### Workarounds\n\nThere is no known workaround, other than upgrading XWiki.\n\nThe protection added to this REST API is the same as the one used to validate complete select queries, making it more consistent. However, while the script API always had this protection for complete queries, it's important to note that it's a very strict protection and some valid, but complex, queries might suddenly require the author to have programming right.\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-22718\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)",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-32968",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75763",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7588",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75871",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75833",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75848",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75844",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75806",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75812",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75752",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75831",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75808",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75784",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0091",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75796",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01231",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79283",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.01231",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7925",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01231",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79263",
                            "published_at": "2026-05-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-32968"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.6",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/xwiki/xwiki-platform"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-g9jj-75mx-wjcx",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "8.6",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-04-23T16:17:37Z/"
                        }
                    ],
                    "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-g9jj-75mx-wjcx"
                },
                {
                    "reference_url": "https://jira.xwiki.org/browse/XWIKI-22718",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.6",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-04-23T16:17:37Z/"
                        }
                    ],
                    "url": "https://jira.xwiki.org/browse/XWIKI-22718"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-32968",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.6",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-32968"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-g9jj-75mx-wjcx",
                    "reference_id": "GHSA-g9jj-75mx-wjcx",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-g9jj-75mx-wjcx"
                }
            ],
            "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/68676?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.4.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.4.6"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68677?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.1"
                }
            ],
            "aliases": [
                "CVE-2025-32968",
                "GHSA-g9jj-75mx-wjcx"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2act-yfey-vfgf"
        },
        {
            "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)",
            "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.72217",
                            "published_at": "2026-04-04T12: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.72197",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01603",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81793",
                            "published_at": "2026-04-29T12: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.81777",
                            "published_at": "2026-04-24T12: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.81712",
                            "published_at": "2026-04-13T12: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.81731",
                            "published_at": "2026-04-11T12: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.8175",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01603",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81831",
                            "published_at": "2026-05-07T12: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"
                        }
                    ],
                    "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"
                }
            ],
            "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"
                }
            ],
            "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_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.10.16"
}