Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/23995?format=api",
    "purl": "pkg:pypi/ckan@2.9.2",
    "type": "pypi",
    "namespace": "",
    "name": "ckan",
    "version": "2.9.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.9.7",
    "latest_non_vulnerable_version": "2.11.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8208?format=api",
            "vulnerability_id": "VCID-fy4c-77tm-9kam",
            "summary": "In CKAN, versions 2.9.0 to 2.9.3 are affected by a stored XSS vulnerability via SVG file upload of users’ profile picture. This allows low privileged application users to store malicious scripts in their profile picture. These scripts are executed in a victim’s browser when they open the malicious profile picture",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25967",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00206",
                            "scoring_system": "epss",
                            "scoring_elements": "0.42778",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25967"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6w9p-88qg-p3g3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-6w9p-88qg-p3g3"
                },
                {
                    "reference_url": "https://github.com/ckan/ckan",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ckan/ckan"
                },
                {
                    "reference_url": "https://github.com/ckan/ckan/commit/5a46989c0a4f2c2873ca182c196da83b82babd25",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ckan/ckan/commit/5a46989c0a4f2c2873ca182c196da83b82babd25"
                },
                {
                    "reference_url": "https://github.com/ckan/ckan/pull/6477",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ckan/ckan/pull/6477"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/ckan/PYSEC-2021-841.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/ckan/PYSEC-2021-841.yaml"
                },
                {
                    "reference_url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25967",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25967"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25967",
                    "reference_id": "CVE-2021-25967",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25967"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/23997?format=api",
                    "purl": "pkg:pypi/ckan@2.9.4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-w6cg-ubux-qbfg"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ckan@2.9.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58690?format=api",
                    "purl": "pkg:pypi/ckan@2.10.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-6epn-ddfg-8fe9"
                        },
                        {
                            "vulnerability": "VCID-am2d-z4n4-93ff"
                        },
                        {
                            "vulnerability": "VCID-bah9-eeve-zybg"
                        },
                        {
                            "vulnerability": "VCID-mfpa-jdxh-vfd3"
                        },
                        {
                            "vulnerability": "VCID-t3gx-x14x-2bf9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ckan@2.10.0"
                }
            ],
            "aliases": [
                "CVE-2021-25967",
                "GHSA-6w9p-88qg-p3g3",
                "PYSEC-2021-841"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fy4c-77tm-9kam"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8618?format=api",
            "vulnerability_id": "VCID-w6cg-ubux-qbfg",
            "summary": "CKAN through 2.9.6 account takeovers by unauthenticated users when an existing user id is sent via an HTTP POST request. This allows a user to take over an existing account including superuser accounts.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-43685",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00864",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75405",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-43685"
                },
                {
                    "reference_url": "https://ckan.org",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://ckan.org"
                },
                {
                    "reference_url": "https://ckan.org/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://ckan.org/"
                },
                {
                    "reference_url": "https://ckan.org/blog/get-latest-patch-releases-your-ckan-site-october-2022",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://ckan.org/blog/get-latest-patch-releases-your-ckan-site-october-2022"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/ckan/PYSEC-2022-42987.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/ckan/PYSEC-2022-42987.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-43685",
                    "reference_id": "CVE-2022-43685",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-43685"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-m2xp-jxfg-qq6g",
                    "reference_id": "GHSA-m2xp-jxfg-qq6g",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-m2xp-jxfg-qq6g"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/28716?format=api",
                    "purl": "pkg:pypi/ckan@2.9.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ckan@2.9.7"
                }
            ],
            "aliases": [
                "CVE-2022-43685",
                "GHSA-m2xp-jxfg-qq6g",
                "PYSEC-2022-42987"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w6cg-ubux-qbfg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ckan@2.9.2"
}