Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/22882?format=api",
    "purl": "pkg:pypi/omero-figure@3.0.0",
    "type": "pypi",
    "namespace": "",
    "name": "omero-figure",
    "version": "3.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.4.1",
    "latest_non_vulnerable_version": "4.4.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8178?format=api",
            "vulnerability_id": "VCID-31u4-a1rs-e7gs",
            "summary": "OMERO.web provides a web based client and plugin infrastructure. In versions prior to 5.11.0, a variety of templates do not perform proper sanitization through HTML escaping. Due to the lack of sanitization and use of ``jQuery.html()``, there are a whole host of cross-site scripting possibilities with specially crafted input to a variety of fields. This issue is patched in version 5.11.0. There are no known workarounds aside from upgrading.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41132",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68514",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41132"
                },
                {
                    "reference_url": "https://github.com/ome/omero-web",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ome/omero-web"
                },
                {
                    "reference_url": "https://github.com/ome/omero-web/commit/0168067accde5e635341b3c714b1d53ae92ba424",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ome/omero-web/commit/0168067accde5e635341b3c714b1d53ae92ba424"
                },
                {
                    "reference_url": "https://github.com/ome/omero-web/security/advisories/GHSA-g67g-hvc3-xmvf",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ome/omero-web/security/advisories/GHSA-g67g-hvc3-xmvf"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/omero-figure/PYSEC-2021-379.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/omero-figure/PYSEC-2021-379.yaml"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/omero-web/PYSEC-2021-372.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/omero-web/PYSEC-2021-372.yaml"
                },
                {
                    "reference_url": "https://www.openmicroscopy.org/security/advisories/2021-SV3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.openmicroscopy.org/security/advisories/2021-SV3"
                },
                {
                    "reference_url": "https://www.openmicroscopy.org/security/advisories/2021-SV3/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.openmicroscopy.org/security/advisories/2021-SV3/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41132",
                    "reference_id": "CVE-2021-41132",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41132"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-g67g-hvc3-xmvf",
                    "reference_id": "GHSA-g67g-hvc3-xmvf",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-g67g-hvc3-xmvf"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22898?format=api",
                    "purl": "pkg:pypi/omero-figure@4.4.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/omero-figure@4.4.1"
                }
            ],
            "aliases": [
                "CVE-2021-41132",
                "GHSA-g67g-hvc3-xmvf",
                "PYSEC-2021-372",
                "PYSEC-2021-379"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-31u4-a1rs-e7gs"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/omero-figure@3.0.0"
}