Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/28774?format=api",
    "purl": "pkg:pypi/nbconvert@6.0.6",
    "type": "pypi",
    "namespace": "",
    "name": "nbconvert",
    "version": "6.0.6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "6.3.0a0",
    "latest_non_vulnerable_version": "7.17.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36163?format=api",
            "vulnerability_id": "VCID-qe9z-kwrs-3bgv",
            "summary": "The GitHub Security Lab discovered sixteen ways to exploit a cross-site scripting vulnerability in nbconvert. When using nbconvert to generate an HTML version of a user-controllable notebook, it is possible to inject arbitrary HTML which may lead to cross-site scripting (XSS) vulnerabilities if these HTML notebooks are served by a web server (eg: nbviewer).",
            "references": [
                {
                    "reference_url": "https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/jupyter/nbconvert/security/advisories/GHSA-9jmq-rx5f-8jwq"
                },
                {
                    "reference_url": "https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/jupyter/nbviewer/security/advisories/GHSA-h274-fcvj-h2wm"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/28783?format=api",
                    "purl": "pkg:pypi/nbconvert@6.3.0a0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/nbconvert@6.3.0a0"
                }
            ],
            "aliases": [
                "CVE-2021-32862",
                "GHSA-9jmq-rx5f-8jwq",
                "GHSA-h274-fcvj-h2wm",
                "PYSEC-2022-249"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qe9z-kwrs-3bgv"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/nbconvert@6.0.6"
}