Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58616?format=api",
    "purl": "pkg:pypi/django-wiki@0.0.20",
    "type": "pypi",
    "namespace": "",
    "name": "django-wiki",
    "version": "0.0.20",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8203?format=api",
            "vulnerability_id": "VCID-6u9s-bafm-6kaa",
            "summary": "In Django-wiki, versions 0.0.20 to 0.7.8 are vulnerable to Stored Cross-Site Scripting (XSS) in Notifications Section. An attacker who has access to edit pages can inject JavaScript payload in the title field. When a victim gets a notification regarding the changes made in the application, the payload in the notification panel renders and loads external JavaScript.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25986",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00195",
                            "scoring_system": "epss",
                            "scoring_elements": "0.41229",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25986"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3m3h-v9hv-9j4h",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-3m3h-v9hv-9j4h"
                },
                {
                    "reference_url": "https://github.com/django-wiki/django-wiki",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django-wiki/django-wiki"
                },
                {
                    "reference_url": "https://github.com/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5"
                },
                {
                    "reference_url": "https://github.com/django-wiki/django-wiki/pull/1148",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django-wiki/django-wiki/pull/1148"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/wiki/PYSEC-2021-850.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/wiki/PYSEC-2021-850.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25986",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25986"
                },
                {
                    "reference_url": "https://pypi.org/project/wiki",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/wiki"
                },
                {
                    "reference_url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25986",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25986"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-25986",
                "GHSA-3m3h-v9hv-9j4h",
                "PYSEC-2021-850"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6u9s-bafm-6kaa"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-wiki@0.0.20"
}