Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/223391?format=api",
    "purl": "pkg:npm/haxeshim@0.5.2",
    "type": "npm",
    "namespace": "",
    "name": "haxeshim",
    "version": "0.5.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40131?format=api",
            "vulnerability_id": "VCID-47x6-8phm-ubdu",
            "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nhaxeshim haxe shim to deal with coexisting versions. haxeshim downloads resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested resources with an attacker controlled copy if the attacker is on the network or positioned in between the user and the remote server.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10692",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81792",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.01558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81826",
                            "published_at": "2026-06-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10692"
                },
                {
                    "reference_url": "https://nodesecurity.io/advisories/300",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nodesecurity.io/advisories/300"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/300",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/300"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10692",
                    "reference_id": "CVE-2016-10692",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10692"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-cr6c-85fh-cqpg",
                    "reference_id": "GHSA-cr6c-85fh-cqpg",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-cr6c-85fh-cqpg"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2016-10692",
                "GHSA-cr6c-85fh-cqpg"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-47x6-8phm-ubdu"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/haxeshim@0.5.2"
}