django-oauth-toolkit is vulnerable to Open Redirect
61
Medium Risk
The authorization endpoint sends an unauthenticated prompt=none request to the supplied redirect_uri with a login_required error before the client and redirect_uri are validated against a registered application. Because only the URI scheme is checked, an attacker can craft an authorization link that redirects a victim's browser to an arbitrary attacker-controlled origin, enabling phishing and credential harvesting. The fix validates the request against a registered client first and only redirects to the oauthlib-validated redirect_uri, otherwise falling back to a non-redirecting error response.
You are affected if you are using a version that falls within the vulnerable range.
django-oauth-toolkit is vulnerable to Open Redirect in versions 2.4.0 - 3.3.0.
Upgrade the django-oauth-toolkit library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant