Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/51666?format=api",
    "vulnerability_id": "VCID-d4u9-z1sb-xqfg",
    "summary": "Open Redirect in django-spirit\ndjango-spirit prior to version 0.12.3 is vulnerable to open redirect. In the /user/login endpoint, it doesn't check the value of the next parameter when the user is logged in and passes it directly to redirect which result to open redirect. This also affects /user/logout, /user/register, /user/login, /user/resend-activation.",
    "aliases": [
        {
            "alias": "CVE-2022-0869"
        },
        {
            "alias": "GHSA-5p9j-w2wx-qx4c"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/87971?format=api",
            "purl": "pkg:pypi/django-spirit@0.12.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.12.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530277?format=api",
            "purl": "pkg:pypi/django-spirit@0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530278?format=api",
            "purl": "pkg:pypi/django-spirit@0.1.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.1.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530279?format=api",
            "purl": "pkg:pypi/django-spirit@0.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530280?format=api",
            "purl": "pkg:pypi/django-spirit@0.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530281?format=api",
            "purl": "pkg:pypi/django-spirit@0.1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.1.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530282?format=api",
            "purl": "pkg:pypi/django-spirit@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530283?format=api",
            "purl": "pkg:pypi/django-spirit@0.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530284?format=api",
            "purl": "pkg:pypi/django-spirit@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530285?format=api",
            "purl": "pkg:pypi/django-spirit@0.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530286?format=api",
            "purl": "pkg:pypi/django-spirit@0.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530287?format=api",
            "purl": "pkg:pypi/django-spirit@0.4.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.4.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530288?format=api",
            "purl": "pkg:pypi/django-spirit@0.4.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.4.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530289?format=api",
            "purl": "pkg:pypi/django-spirit@0.4.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.4.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530290?format=api",
            "purl": "pkg:pypi/django-spirit@0.4.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.4.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530291?format=api",
            "purl": "pkg:pypi/django-spirit@0.4.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.4.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530292?format=api",
            "purl": "pkg:pypi/django-spirit@0.4.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.4.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530293?format=api",
            "purl": "pkg:pypi/django-spirit@0.4.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.4.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530294?format=api",
            "purl": "pkg:pypi/django-spirit@0.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530295?format=api",
            "purl": "pkg:pypi/django-spirit@0.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530296?format=api",
            "purl": "pkg:pypi/django-spirit@0.6.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.6.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530297?format=api",
            "purl": "pkg:pypi/django-spirit@0.6.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.6.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530298?format=api",
            "purl": "pkg:pypi/django-spirit@0.6.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.6.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530299?format=api",
            "purl": "pkg:pypi/django-spirit@0.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530300?format=api",
            "purl": "pkg:pypi/django-spirit@0.7.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.7.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530301?format=api",
            "purl": "pkg:pypi/django-spirit@0.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530302?format=api",
            "purl": "pkg:pypi/django-spirit@0.9.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.9.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530303?format=api",
            "purl": "pkg:pypi/django-spirit@0.9.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.9.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530304?format=api",
            "purl": "pkg:pypi/django-spirit@0.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530305?format=api",
            "purl": "pkg:pypi/django-spirit@0.10.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.10.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530306?format=api",
            "purl": "pkg:pypi/django-spirit@0.11.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.11.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530307?format=api",
            "purl": "pkg:pypi/django-spirit@0.11.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.11.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530308?format=api",
            "purl": "pkg:pypi/django-spirit@0.12.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.12.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530309?format=api",
            "purl": "pkg:pypi/django-spirit@0.12.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.12.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/530310?format=api",
            "purl": "pkg:pypi/django-spirit@0.12.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-d4u9-z1sb-xqfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-spirit@0.12.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0869",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.07594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.91969",
                    "published_at": "2026-05-29T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-0869"
        },
        {
            "reference_url": "https://github.com/nitely/spirit",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/nitely/spirit"
        },
        {
            "reference_url": "https://github.com/nitely/spirit/commit/8f32f89654d6c30d56e0dd167059d32146fb32ef",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/nitely/spirit/commit/8f32f89654d6c30d56e0dd167059d32146fb32ef"
        },
        {
            "reference_url": "https://huntr.dev/bounties/ed335a88-f68c-4e4d-ac85-f29a51b03342",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://huntr.dev/bounties/ed335a88-f68c-4e4d-ac85-f29a51b03342"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0869",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0869"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-5p9j-w2wx-qx4c",
            "reference_id": "GHSA-5p9j-w2wx-qx4c",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-5p9j-w2wx-qx4c"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 601,
            "name": "URL Redirection to Untrusted Site ('Open Redirect')",
            "description": "A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d4u9-z1sb-xqfg"
}