Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58924?format=api",
    "purl": "pkg:npm/remark-html@13.0.2",
    "type": "npm",
    "namespace": "",
    "name": "remark-html",
    "version": "13.0.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "13.0.2",
    "latest_non_vulnerable_version": "14.0.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41429?format=api",
            "vulnerability_id": "VCID-h8na-hw4a-8qa2",
            "summary": "Cross-site Scripting\nremark-html is an open source nodejs library which compiles Markdown to HTML. pass `sanitize: true` if you cannot update.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39199",
                    "reference_id": "CVE-2021-39199",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39199"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58924?format=api",
                    "purl": "pkg:npm/remark-html@13.0.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/remark-html@13.0.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58925?format=api",
                    "purl": "pkg:npm/remark-html@14.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/remark-html@14.0.1"
                }
            ],
            "aliases": [
                "CVE-2021-39199",
                "GHSA-9q5w-79cv-947m"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h8na-hw4a-8qa2"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/remark-html@13.0.2"
}