Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/966483?format=api",
    "purl": "pkg:npm/%40apollo/query-planner@2.11.4",
    "type": "npm",
    "namespace": "@apollo",
    "name": "query-planner",
    "version": "2.11.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.11.6",
    "latest_non_vulnerable_version": "2.13.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/76935?format=api",
            "vulnerability_id": "VCID-ycvm-a49u-gbbc",
            "summary": "Apollo Federation is an architecture for declaratively composing APIs into a unified graph. Prior to 2.9.6, 2.10.5, 2.11.6, 2.12.3, and 2.13.2, a vulnerability exists in query plan execution within the gateway that may allow pollution of Object.prototype in certain scenarios. A malicious client may be able to pollute Object.prototype in gateway directly by crafting operations with field aliases and/or variable names that target prototype-inheritable properties. Alternatively, if a subgraph were to be compromised by a malicious actor, they may be able to pollute Object.prototype in gateway by crafting JSON response payloads that target prototype-inheritable properties. This vulnerability is fixed in 2.9.6, 2.10.5, 2.11.6, 2.12.3, and 2.13.2.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-32621",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00043",
                            "scoring_system": "epss",
                            "scoring_elements": "0.13635",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.00043",
                            "scoring_system": "epss",
                            "scoring_elements": "0.13516",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00043",
                            "scoring_system": "epss",
                            "scoring_elements": "0.13632",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-32621"
                },
                {
                    "reference_url": "https://github.com/apollographql/federation",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apollographql/federation"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32621",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32621"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-pfjj-6f4p-rvmh",
                    "reference_id": "GHSA-pfjj-6f4p-rvmh",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-pfjj-6f4p-rvmh"
                },
                {
                    "reference_url": "https://github.com/apollographql/federation/security/advisories/GHSA-pfjj-6f4p-rvmh",
                    "reference_id": "GHSA-pfjj-6f4p-rvmh",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "CRITICAL",
                            "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/2026-03-16T20:14:28Z/"
                        }
                    ],
                    "url": "https://github.com/apollographql/federation/security/advisories/GHSA-pfjj-6f4p-rvmh"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/375107?format=api",
                    "purl": "pkg:npm/%40apollo/query-planner@2.11.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/query-planner@2.11.6"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/966487?format=api",
                    "purl": "pkg:npm/%40apollo/query-planner@2.12.0-preview.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/query-planner@2.12.0-preview.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/375108?format=api",
                    "purl": "pkg:npm/%40apollo/query-planner@2.12.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/query-planner@2.12.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/966491?format=api",
                    "purl": "pkg:npm/%40apollo/query-planner@2.13.0-preview.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/query-planner@2.13.0-preview.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/375109?format=api",
                    "purl": "pkg:npm/%40apollo/query-planner@2.13.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/query-planner@2.13.2"
                }
            ],
            "aliases": [
                "CVE-2026-32621",
                "GHSA-pfjj-6f4p-rvmh"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ycvm-a49u-gbbc"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/query-planner@2.11.4"
}