Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/408317?format=api",
    "purl": "pkg:npm/shell-quote@1.3.1",
    "type": "npm",
    "namespace": "",
    "name": "shell-quote",
    "version": "1.3.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.6.1",
    "latest_non_vulnerable_version": "1.8.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/361762?format=api",
            "vulnerability_id": "VCID-am1t-3k5e-tkew",
            "summary": "Potential Command Injection\nThe module does not properly escape \">\" and \"<\" operator used for redirection in shell. Application escaping command-line args with this module might be vulnerable from malicious user input.",
            "references": [
                {
                    "reference_url": "https://github.com/substack/node-shell-quote/commit/70e9eb2a854eb56a3dfa255be12610a722bbe080",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/substack/node-shell-quote/commit/70e9eb2a854eb56a3dfa255be12610a722bbe080"
                },
                {
                    "reference_url": "https://github.com/substack/node-shell-quote/commit/ace52f4c8717b370b301a3db3a4727db26e309ad",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/substack/node-shell-quote/commit/ace52f4c8717b370b301a3db3a4727db26e309ad"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/14968?format=api",
                    "purl": "pkg:npm/shell-quote@1.6.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shell-quote@1.6.1"
                }
            ],
            "aliases": [
                "GMS-2016-37"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-am1t-3k5e-tkew"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/203255?format=api",
            "vulnerability_id": "VCID-qkx1-7dkn-dfeg",
            "summary": "Potential Command Injection in shell-quote",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-10541.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-10541.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10541",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.61011",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.00397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.60904",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00397",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6102",
                            "published_at": "2026-06-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10541"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/117",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/117"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1588519",
                    "reference_id": "1588519",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1588519"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10541",
                    "reference_id": "CVE-2016-10541",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10541"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-qg8p-v9q4-gh34",
                    "reference_id": "GHSA-qg8p-v9q4-gh34",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-qg8p-v9q4-gh34"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/14968?format=api",
                    "purl": "pkg:npm/shell-quote@1.6.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shell-quote@1.6.1"
                }
            ],
            "aliases": [
                "CVE-2016-10541",
                "GHSA-qg8p-v9q4-gh34"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qkx1-7dkn-dfeg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shell-quote@1.3.1"
}