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.
{ "nvd_published_at": "2022-03-06T10:15:00Z", "github_reviewed_at": "2022-03-07T20:17:27Z", "severity": "MODERATE", "github_reviewed": true, "cwe_ids": [ "CWE-601" ] }