Advisory

GHSA-5p9j-w2wx-qx4c

Also known as: CVE-2022-0869, PYSEC-2026-631

Summary

Open Redirect in django-spirit

Details

django-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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-03-07 00:00 UTC
Modified
2026-07-06 08:11 UTC

Affected packages and fixes

django-spirit

PyPI · All systems

Affected

  • introduced 0, fixed 0.12.3 (ecosystem)

Fixed versions

0.12.3

Fix

  • Fixed version 0.12.3
    pip install --upgrade django-spirit==0.12.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences