Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/231589?format=api",
    "purl": "pkg:npm/haxe@4.1.9",
    "type": "npm",
    "namespace": "",
    "name": "haxe",
    "version": "4.1.9",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "5.0.10",
    "latest_non_vulnerable_version": "5.0.10",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40764?format=api",
            "vulnerability_id": "VCID-u8e7-hz1y-9bad",
            "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nhaxe is a cross-platform toolkit haxe downloads zipped 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 zip file with an attacker controlled zip file 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-10602",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00735",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73168",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00735",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73206",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10602"
                },
                {
                    "reference_url": "https://github.com/HaxeFoundation/npm-haxe",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/HaxeFoundation/npm-haxe"
                },
                {
                    "reference_url": "https://nodesecurity.io/advisories/177",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nodesecurity.io/advisories/177"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/177",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/177"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10602",
                    "reference_id": "CVE-2016-10602",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10602"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-g785-775g-f2g8",
                    "reference_id": "GHSA-g785-775g-f2g8",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-g785-775g-f2g8"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57500?format=api",
                    "purl": "pkg:npm/haxe@5.0.10",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/haxe@5.0.10"
                }
            ],
            "aliases": [
                "CVE-2016-10602",
                "GHSA-g785-775g-f2g8"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u8e7-hz1y-9bad"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/haxe@4.1.9"
}