Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/74420?format=api",
    "purl": "pkg:npm/%40tootallnate/once@2.0.1",
    "type": "npm",
    "namespace": "@tootallnate",
    "name": "once",
    "version": "2.0.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.0.1",
    "latest_non_vulnerable_version": "3.0.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50644?format=api",
            "vulnerability_id": "VCID-cwpj-cg5f-2fem",
            "summary": "@tootallnate/once vulnerable to Incorrect Control Flow Scoping\nVersions of the package @tootallnate/once before 3.0.1 are vulnerable to Incorrect Control Flow Scoping in promise resolving when AbortSignal option is used. The Promise remains in a permanently pending state after the signal is aborted, causing any await or .then() usage to hang indefinitely. This can cause a control-flow leak that can lead to stalled requests, blocked workers, or degraded application availability.",
            "references": [
                {
                    "reference_url": "https://github.com/TooTallNate/once/commit/b9f43cc5259bee2952d91ad3cdbd201a82df448a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/TooTallNate/once/commit/b9f43cc5259bee2952d91ad3cdbd201a82df448a"
                },
                {
                    "reference_url": "https://github.com/TooTallNate/once/issues/8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/TooTallNate/once/issues/8"
                },
                {
                    "reference_url": "https://github.com/TooTallNate/once/releases/tag/v2.0.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/TooTallNate/once/releases/tag/v2.0.1"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-JS-TOOTALLNATEONCE-15250612",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.snyk.io/vuln/SNYK-JS-TOOTALLNATEONCE-15250612"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3449",
                    "reference_id": "CVE-2026-3449",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3449"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vpq2-c234-7xj6",
                    "reference_id": "GHSA-vpq2-c234-7xj6",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-vpq2-c234-7xj6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/74420?format=api",
                    "purl": "pkg:npm/%40tootallnate/once@2.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540tootallnate/once@2.0.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/74421?format=api",
                    "purl": "pkg:npm/%40tootallnate/once@3.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540tootallnate/once@3.0.1"
                }
            ],
            "aliases": [
                "CVE-2026-3449",
                "GHSA-vpq2-c234-7xj6"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cwpj-cg5f-2fem"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540tootallnate/once@2.0.1"
}