Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/524856?format=api",
    "purl": "pkg:npm/deep-defaults@1.0.1",
    "type": "npm",
    "namespace": "",
    "name": "deep-defaults",
    "version": "1.0.1",
    "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/54535?format=api",
            "vulnerability_id": "VCID-9c4e-bvwm-syeg",
            "summary": "Prototype Pollution\nPrototype pollution vulnerability in 'deep-defaults' allows attacker to cause a denial of service and may lead to remote code execution.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25944",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0254",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85761",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.0254",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85756",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.0254",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85742",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.0254",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85758",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.0254",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85737",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.0254",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85759",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25944"
                },
                {
                    "reference_url": "https://github.com/d5/deep-defaults",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/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://github.com/d5/deep-defaults"
                },
                {
                    "reference_url": "https://github.com/d5/deep-defaults/blob/321d0e2231aa807d54e7f95d75c22048a806923f/lib/index.js#L16",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/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://github.com/d5/deep-defaults/blob/321d0e2231aa807d54e7f95d75c22048a806923f/lib/index.js#L16"
                },
                {
                    "reference_url": "https://web.archive.org/web/20210525211925/https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25944",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/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://web.archive.org/web/20210525211925/https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25944"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25944",
                    "reference_id": "CVE-2021-25944",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/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-2021-25944"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-h6xg-rg33-9mf4",
                    "reference_id": "GHSA-h6xg-rg33-9mf4",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-h6xg-rg33-9mf4"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-25944",
                "GHSA-h6xg-rg33-9mf4"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9c4e-bvwm-syeg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/deep-defaults@1.0.1"
}