Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/6660?format=api",
    "purl": "pkg:npm/sexstatic@0.6.2",
    "type": "npm",
    "namespace": "",
    "name": "sexstatic",
    "version": "0.6.2",
    "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/30599?format=api",
            "vulnerability_id": "VCID-52kv-7p56-5kcf",
            "summary": "[sexstatic] HTML injection in directory name(s) leads to Stored XSS when malicious file is embed with <iframe> element used in directory name",
            "references": [
                {
                    "reference_url": "https://hackerone.com/reports/328210",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.2",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://hackerone.com/reports/328210"
                },
                {
                    "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/437.json",
                    "reference_id": "437",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.2",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/437.json"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3755",
                    "reference_id": "CVE-2018-3755",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3755"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-3755"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-52kv-7p56-5kcf"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sexstatic@0.6.2"
}