HighGHSA-vq3h-3q7v-9prwCVE-2014-3730PYSEC-2014-20
Django Allows Open Redirects
Published 14 May 2022 · Updated 19 Feb 2025
Is your project on an affected django?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
djangoPyPI
- Affected
- >=1.4 <1.4.13
- Fixed in
- 1.4.13
Update to the fixed version for your release line, for example:
pip install 'django>=1.4.13'djangoPyPI
- Affected
- >=1.5 <1.5.8
- Fixed in
- 1.5.8
Update to the fixed version for your release line, for example:
pip install 'django>=1.5.8'djangoPyPI
- Affected
- >=1.6 <1.6.5
- Fixed in
- 1.6.5
Update to the fixed version for your release line, for example:
pip install 'django>=1.6.5'djangoPyPI
- Affected
- >=1.7a1 <1.7b4
- Fixed in
- 1.7b4
Update to the fixed version for your release line, for example:
pip install 'django>=1.7b4'Details
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."
Is GHSA-vq3h-3q7v-9prw in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected django, and gives you the command that fixes it.
More advisories for django
- HighCVE-2026-15307Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing · 4 Aug 2026
- MediumCVE-2026-15830Django GeoDjango vulnerable to denial of service through deeply nested geometry collections · 4 Aug 2026
- MediumCVE-2026-53878Django: DomainNameValidator permits newline characters that may enable HTTP header injection · 7 Jul 2026
- MediumCVE-2026-53877 Django: GDALRaster may over-read heap memory when constructed from bytes · 7 Jul 2026
- LowCVE-2026-48588Django: cache middleware may expose private responses when unrelated request cookies are present · 7 Jul 2026
- LowCVE-2026-8404Django: UpdateCacheMiddleware may disclose cached responses due to case-sensitive Cache-Control handling · 3 Jun 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2014-3730
- Linkgithub.com/django/django/commit/601107524523bca02376a0ddc1a06c6fdb8f22f3
- Linkgithub.com/django/django/commit/7feb54bbae3f637ab3c4dd4831d4385964f574df
- Linkgithub.com/django/django/commit/ad32c218850ad40972dcef57beb460f8c979dd6d
- Packagegithub.com/django/django
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-20.yaml
- Linkweb.archive.org/web/20200228171223/http://www.securityfocus.com/bid/67410
- Linkwww.djangoproject.com/weblog/2014/may/14/security-releases-issued
- Linklists.opensuse.org/opensuse-updates/2014-09/msg00023.html
- Linksecunia.com/advisories/61281
- Linkubuntu.com/usn/usn-2212-1
- Linkwww.debian.org/security/2014/dsa-2934
- Linkwww.openwall.com/lists/oss-security/2014/05/14/10
- Linkwww.openwall.com/lists/oss-security/2014/05/15/3
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.