Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/50348?format=api",
    "purl": "pkg:pypi/jupyterlab@4.2.0a0",
    "type": "pypi",
    "namespace": "",
    "name": "jupyterlab",
    "version": "4.2.0a0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.5.7",
    "latest_non_vulnerable_version": "4.5.7",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37335?format=api",
            "vulnerability_id": "VCID-uds2-gzff-jfct",
            "summary": "JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. From 4.0.0 to 4.5.6, the allow-list of extensions that can be installed from PyPI Extension Manager (allowed_extensions_uris) is not correctly enforced by JupyterLab. The PyPI Extension Manager was not contained to packages listed on the default PyPI index. This vulnerability is fixed in 4.5.7.",
            "references": [
                {
                    "reference_url": "https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.7"
                },
                {
                    "reference_url": "https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-37w4-hwhx-4rc4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-37w4-hwhx-4rc4"
                },
                {
                    "reference_url": "https://jupyterhub.readthedocs.io/en/5.2.1/explanation/websecurity.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://jupyterhub.readthedocs.io/en/5.2.1/explanation/websecurity.html"
                },
                {
                    "reference_url": "https://jupyterlab.readthedocs.io/en/latest/user/extensions.html#extension-manager-implementations",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://jupyterlab.readthedocs.io/en/latest/user/extensions.html#extension-manager-implementations"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/50418?format=api",
                    "purl": "pkg:pypi/jupyterlab@4.5.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterlab@4.5.7"
                }
            ],
            "aliases": [
                "CVE-2026-42266",
                "GHSA-37w4-hwhx-4rc4",
                "PYSEC-2026-164"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uds2-gzff-jfct"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterlab@4.2.0a0"
}