Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/251189?format=api",
    "purl": "pkg:npm/next@3.0.4",
    "type": "npm",
    "namespace": "",
    "name": "next",
    "version": "3.0.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "9.3.2",
    "latest_non_vulnerable_version": "16.2.6",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53503?format=api",
            "vulnerability_id": "VCID-92d9-g7rt-jqc4",
            "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in next.",
            "references": [
                {
                    "reference_url": "https://github.com/masasron/vulnerability-research/tree/master/CVE-2018-6184/LFI",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/masasron/vulnerability-research/tree/master/CVE-2018-6184/LFI"
                },
                {
                    "reference_url": "https://github.com/vercel/next.js",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/vercel/next.js"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/1538",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/1538"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-5vj8-3v2h-h38v",
                    "reference_id": "GHSA-5vj8-3v2h-h38v",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-5vj8-3v2h-h38v"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/78556?format=api",
                    "purl": "pkg:npm/next@5.1.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9gek-11vr-pfbw"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/next@5.1.0"
                }
            ],
            "aliases": [
                "GHSA-5vj8-3v2h-h38v",
                "GMS-2020-750"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-92d9-g7rt-jqc4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52437?format=api",
            "vulnerability_id": "VCID-9gek-11vr-pfbw",
            "summary": "Directory Traversal in Next.js\n- **Not affected**: Deployments on ZEIT Now v2 ([https://zeit.co](https://zeit.co/)) are not affected\n- **Not affected**: Deployments using the `serverless` target\n- **Not affected**: Deployments using `next export`\n- **Affected**: Users of Next.js below 9.3.2\n\nWe recommend everyone to upgrade regardless of whether you can reproduce the issue or not.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-5284",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.79833",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99124",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-5284"
                },
                {
                    "reference_url": "https://github.com/zeit/next.js/releases/tag/v9.3.2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/zeit/next.js/releases/tag/v9.3.2"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/1503",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/1503"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-5284",
                    "reference_id": "CVE-2020-5284",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-5284"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-fq77-7p7r-83rj",
                    "reference_id": "GHSA-fq77-7p7r-83rj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-fq77-7p7r-83rj"
                },
                {
                    "reference_url": "https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj",
                    "reference_id": "GHSA-fq77-7p7r-83rj",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/76988?format=api",
                    "purl": "pkg:npm/next@9.3.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/next@9.3.2"
                }
            ],
            "aliases": [
                "CVE-2020-5284",
                "GHSA-fq77-7p7r-83rj"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9gek-11vr-pfbw"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/next@3.0.4"
}