Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61076?format=api",
    "purl": "pkg:npm/simple-plist@1.3.0",
    "type": "npm",
    "namespace": "",
    "name": "simple-plist",
    "version": "1.3.0",
    "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/42772?format=api",
            "vulnerability_id": "VCID-766z-4p3n-u7ge",
            "summary": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')\nSimple-Plist v1.3.0 was discovered to contain a prototype pollution vulnerability via `.parse()`.",
            "references": [
                {
                    "reference_url": "https://github.com/wollardj/simple-plist/issues/60",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/wollardj/simple-plist/issues/60"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26260",
                    "reference_id": "CVE-2022-26260",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26260"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-gff7-g5r8-mg8m",
                    "reference_id": "GHSA-gff7-g5r8-mg8m",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-gff7-g5r8-mg8m"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2022-26260",
                "GHSA-gff7-g5r8-mg8m"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-766z-4p3n-u7ge"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/simple-plist@1.3.0"
}