Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58225?format=api",
    "purl": "pkg:npm/wiki-plugin-datalog@0.1.6",
    "type": "npm",
    "namespace": "",
    "name": "wiki-plugin-datalog",
    "version": "0.1.6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "0.1.6",
    "latest_non_vulnerable_version": "0.1.6",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41092?format=api",
            "vulnerability_id": "VCID-41dq-31bm-2bbw",
            "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in wiki-plugin-datalog.",
            "references": [
                {
                    "reference_url": "https://github.com/WardCunningham/wiki-plugin-datalog/commit/020aa6201319e5b76301a61b65268c94dc242fa7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/WardCunningham/wiki-plugin-datalog/commit/020aa6201319e5b76301a61b65268c94dc242fa7"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-JS-WIKIPLUGINDATALOG-449540",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://snyk.io/vuln/SNYK-JS-WIKIPLUGINDATALOG-449540"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/926",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.npmjs.com/advisories/926"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-pm52-wwrw-c282",
                    "reference_id": "GHSA-pm52-wwrw-c282",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-pm52-wwrw-c282"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58225?format=api",
                    "purl": "pkg:npm/wiki-plugin-datalog@0.1.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/wiki-plugin-datalog@0.1.6"
                }
            ],
            "aliases": [
                "GHSA-pm52-wwrw-c282",
                "GMS-2019-68"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-41dq-31bm-2bbw"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/wiki-plugin-datalog@0.1.6"
}