Open Redirect in django-spirit
Moderate severity
GitHub Reviewed
Published
Mar 7, 2022
to the GitHub Advisory Database
•
Updated Feb 3, 2023
Description
Published by the National Vulnerability Database
Mar 6, 2022
Published to the GitHub Advisory Database
Mar 7, 2022
Reviewed
Mar 7, 2022
Last updated
Feb 3, 2023
django-spirit prior to version 0.12.3 is vulnerable to open redirect. In the /user/# 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/#, /user/resend-activation.
References