Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/81775?format=api",
    "purl": "pkg:npm/ws@5.2.4",
    "type": "npm",
    "namespace": "",
    "name": "ws",
    "version": "5.2.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "6.2.3",
    "latest_non_vulnerable_version": "8.20.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/258251?format=api",
            "vulnerability_id": "VCID-h5b4-kz93-r7g3",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-37890",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00541",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67935",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-37890"
                },
                {
                    "reference_url": "https://github.com/websockets/ws/commit/22c28763234aa75a7e1b76f5c01c181260d7917f",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/websockets/ws/commit/22c28763234aa75a7e1b76f5c01c181260d7917f"
                },
                {
                    "reference_url": "https://github.com/websockets/ws/commit/4abd8f6de4b0b65ef80b3ff081989479ed93377e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/websockets/ws/commit/4abd8f6de4b0b65ef80b3ff081989479ed93377e"
                },
                {
                    "reference_url": "https://github.com/websockets/ws/commit/e55e5106f10fcbaac37cfa89759e4cc0d073a52c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/websockets/ws/commit/e55e5106f10fcbaac37cfa89759e4cc0d073a52c"
                },
                {
                    "reference_url": "https://github.com/websockets/ws/commit/eeb76d313e2a00dd5247ca3597bba7877d064a63",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/websockets/ws/commit/eeb76d313e2a00dd5247ca3597bba7877d064a63"
                },
                {
                    "reference_url": "https://github.com/websockets/ws/issues/2230",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/websockets/ws/issues/2230"
                },
                {
                    "reference_url": "https://github.com/websockets/ws/pull/2231",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/websockets/ws/pull/2231"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3h5v-q93c-6h6q",
                    "reference_id": "GHSA-3h5v-q93c-6h6q",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-3h5v-q93c-6h6q"
                },
                {
                    "reference_url": "https://github.com/websockets/ws/security/advisories/GHSA-3h5v-q93c-6h6q",
                    "reference_id": "GHSA-3h5v-q93c-6h6q",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/websockets/ws/security/advisories/GHSA-3h5v-q93c-6h6q"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81775?format=api",
                    "purl": "pkg:npm/ws@5.2.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ws@5.2.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81777?format=api",
                    "purl": "pkg:npm/ws@6.2.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ws@6.2.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81773?format=api",
                    "purl": "pkg:npm/ws@7.5.10",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ws@7.5.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81771?format=api",
                    "purl": "pkg:npm/ws@8.17.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ws@8.17.1"
                }
            ],
            "aliases": [
                "CVE-2024-37890",
                "GHSA-3h5v-q93c-6h6q"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h5b4-kz93-r7g3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ws@5.2.4"
}