Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57781?format=api",
    "purl": "pkg:composer/yourls/yourls@1.8.1",
    "type": "composer",
    "namespace": "yourls",
    "name": "yourls",
    "version": "1.8.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/13977?format=api",
            "vulnerability_id": "VCID-9hkf-7f3e-cudc",
            "summary": "Cross-Site Request Forgery (CSRF)\nyourls is vulnerable to Improper Restriction of Rendered UI Layers or Frames",
            "references": [
                {
                    "reference_url": "https://huntr.dev/bounties/dd2e2dbe-efe5-49ec-be11-7a7e7c41debd",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://huntr.dev/bounties/dd2e2dbe-efe5-49ec-be11-7a7e7c41debd"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3734",
                    "reference_id": "CVE-2021-3734",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3734"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-3734"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9hkf-7f3e-cudc"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/yourls/yourls@1.8.1"
}