Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/46878?format=api",
    "purl": "pkg:pypi/django-allauth@65.0.1",
    "type": "pypi",
    "namespace": "",
    "name": "django-allauth",
    "version": "65.0.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "65.13.0",
    "latest_non_vulnerable_version": "65.13.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37159?format=api",
            "vulnerability_id": "VCID-35mh-1a8w-gfcb",
            "summary": "An issue was discovered in allauth-django before 65.13.0. IdP: marking a user as is_active=False after having handed tokens for that user while the account was still active had no effect. Fixed the access/refresh tokens are now rejected.",
            "references": [
                {
                    "reference_url": "https://allauth.org/news/2025/10/django-allauth-65.13.0-released/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://allauth.org/news/2025/10/django-allauth-65.13.0-released/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/46898?format=api",
                    "purl": "pkg:pypi/django-allauth@65.13.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-allauth@65.13.0"
                }
            ],
            "aliases": [
                "CVE-2025-65430",
                "PYSEC-2025-110"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-35mh-1a8w-gfcb"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37160?format=api",
            "vulnerability_id": "VCID-tazq-wxea-t7d1",
            "summary": "An issue was discovered in allauth-django before 65.13.0. Both Okta and NetIQ were using preferred_username as the identifier for third-party provider accounts. That value may be mutable and should therefore be avoided for authorization decisions. The providers are now using sub instead.",
            "references": [
                {
                    "reference_url": "https://allauth.org/news/2025/10/django-allauth-65.13.0-released/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://allauth.org/news/2025/10/django-allauth-65.13.0-released/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/46898?format=api",
                    "purl": "pkg:pypi/django-allauth@65.13.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-allauth@65.13.0"
                }
            ],
            "aliases": [
                "CVE-2025-65431",
                "PYSEC-2025-111"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tazq-wxea-t7d1"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-allauth@65.0.1"
}