Django Allows Open Redirects
High severity
GitHub Reviewed
Published
May 14, 2022
to the GitHub Advisory Database
•
Updated Sep 18, 2024
Package
Affected versions
>= 1.4, < 1.4.13
>= 1.5, < 1.5.8
>= 1.6, < 1.6.5
>= 1.7a1, < 1.7b4
Patched versions
1.4.13
1.5.8
1.6.5
1.7b4
Description
Published by the National Vulnerability Database
May 16, 2014
Published to the GitHub Advisory Database
May 14, 2022
Reviewed
Aug 15, 2023
Last updated
Sep 18, 2024
The
django.util.http.is_safe_url
function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by "http:\\djangoproject.com."References