Archive of security issuesΒΆ
Djangoβs development team is strongly committed to responsible reporting and disclosure of security-related issues, as outlined in Djangoβs security policies.
As part of that commitment, we maintain the following historical list of issues which have been fixed and disclosed. For each issue, the list below includes the date, a brief description, the CVE identifier if applicable, a list of affected versions, a link to the full disclosure and links to the appropriate patch(es).
Some important caveats apply to this information:
Lists of affected versions include only those versions of Django which had stable, security-supported releases at the time of disclosure. This means older versions (whose security support had expired) and versions which were in pre-release (alpha/beta/RC) states at the time of disclosure may have been affected, but are not listed.
The Django project has on occasion issued security advisories, pointing out potential security problems which can arise from improper configuration or from other issues outside of Django itself. Some of these advisories have received CVEs; when that is the case, they are listed here, but as they have no accompanying patches or releases, only the description, disclosure and CVE will be listed.
Issues prior to Djangoβs security processΒΆ
Some security issues were handled before Django had a formalized security process in use. For these, new releases may not have been issued at the time and CVEs may not have been assigned.
August 16, 2006 - CVE-2007-0404ΒΆ
Filename validation issue in translation framework. Full description
Versions affectedΒΆ
January 21, 2007 - CVE-2007-0405ΒΆ
Apparent βcachingβ of authenticated user. Full description
Versions affectedΒΆ
Django 0.95 (patch)
Issues under Djangoβs security processΒΆ
All other security issues have been handled under versions of Djangoβs security process. These are listed below.
October 26, 2007 - CVE-2007-5712ΒΆ
Denial-of-service via arbitrarily-large Accept-Language header. Full
description
Versions affectedΒΆ
May 14, 2008 - CVE-2008-2302ΒΆ
XSS via admin login redirect. Full description
Versions affectedΒΆ
September 2, 2008 - CVE-2008-3909ΒΆ
CSRF via preservation of POST data during admin login. Full description
Versions affectedΒΆ
July 28, 2009 - CVE-2009-2659ΒΆ
Directory-traversal in development server media handler. Full description
Versions affectedΒΆ
October 9, 2009 - CVE-2009-3965ΒΆ
Denial-of-service via pathological regular expression performance. Full description
Versions affectedΒΆ
September 8, 2010 - CVE-2010-3082ΒΆ
XSS via trusting unsafe cookie value. Full description
Versions affectedΒΆ
Django 1.2 (patch)
December 22, 2010 - CVE-2010-4534ΒΆ
Information leakage in administrative interface. Full description
Versions affectedΒΆ
December 22, 2010 - CVE-2010-4535ΒΆ
Denial-of-service in password-reset mechanism. Full description
Versions affectedΒΆ
February 8, 2011 - CVE-2011-0696ΒΆ
CSRF via forged HTTP headers. Full description
Versions affectedΒΆ
February 8, 2011 - CVE-2011-0697ΒΆ
XSS via unsanitized names of uploaded files. Full description
Versions affectedΒΆ
February 8, 2011 - CVE-2011-0698ΒΆ
Directory-traversal on Windows via incorrect path-separator handling. Full description
Versions affectedΒΆ
September 9, 2011 - CVE-2011-4136ΒΆ
Session manipulation when using memory-cache-backed session. Full description
Versions affectedΒΆ
September 9, 2011 - CVE-2011-4137ΒΆ
Denial-of-service via URLField.verify_exists. Full description
Versions affectedΒΆ
September 9, 2011 - CVE-2011-4138ΒΆ
Information leakage/arbitrary request issuance via URLField.verify_exists.
Full description
Versions affectedΒΆ
September 9, 2011 - CVE-2011-4139ΒΆ
Host header cache poisoning. Full description
Versions affectedΒΆ
September 9, 2011 - CVE-2011-4140ΒΆ
Potential CSRF via Host header. Full description
Versions affectedΒΆ
This notification was an advisory only, so no patches were issued.
Django 1.2
Django 1.3
July 30, 2012 - CVE-2012-3442ΒΆ
XSS via failure to validate redirect scheme. Full description
Versions affectedΒΆ
July 30, 2012 - CVE-2012-3443ΒΆ
Denial-of-service via compressed image files. Full description
Versions affectedΒΆ
July 30, 2012 - CVE-2012-3444ΒΆ
Denial-of-service via large image files. Full description
Versions affectedΒΆ
October 17, 2012 - CVE-2012-4520ΒΆ
Host header poisoning. Full description
Versions affectedΒΆ
December 10, 2012 - No CVE 1ΒΆ
Additional hardening of Host header handling. Full description
Versions affectedΒΆ
December 10, 2012 - No CVE 2ΒΆ
Additional hardening of redirect validation. Full description
Versions affectedΒΆ
February 19, 2013 - No CVEΒΆ
Additional hardening of Host header handling. Full description
Versions affectedΒΆ
February 19, 2013 - CVE-2013-1664 / CVE-2013-1665ΒΆ
Entity-based attacks against Python XML libraries. Full description
Versions affectedΒΆ
February 19, 2013 - CVE-2013-0305ΒΆ
Information leakage via admin history log. Full description
Versions affectedΒΆ
February 19, 2013 - CVE-2013-0306ΒΆ
Denial-of-service via formset max_num bypass. Full description
Versions affectedΒΆ
August 13, 2013 - CVE-2013-4249ΒΆ
XSS via admin trusting URLField values. Full description
Versions affectedΒΆ
Django 1.5 (patch)
August 13, 2013 - CVE-2013-6044ΒΆ
Possible XSS via unvalidated URL redirect schemes. Full description
Versions affectedΒΆ
September 10, 2013 - CVE-2013-4315ΒΆ
Directory-traversal via ssi template tag. Full description
Versions affectedΒΆ
September 14, 2013 - CVE-2013-1443ΒΆ
Denial-of-service via large passwords. Full description
Versions affectedΒΆ
Django 1.4 (patch and Python compatibility fix)
Django 1.5 (patch)
April 21, 2014 - CVE-2014-0472ΒΆ
Unexpected code execution using reverse(). Full description
Versions affectedΒΆ
April 21, 2014 - CVE-2014-0473ΒΆ
Caching of anonymous pages could reveal CSRF token. Full description
Versions affectedΒΆ
April 21, 2014 - CVE-2014-0474ΒΆ
MySQL typecasting causes unexpected query results. Full description
Versions affectedΒΆ
May 18, 2014 - CVE-2014-1418ΒΆ
Caches may be allowed to store and serve private data. Full description
Versions affectedΒΆ
May 18, 2014 - CVE-2014-3730ΒΆ
Malformed URLs from user input incorrectly validated. Full description
Versions affectedΒΆ
August 20, 2014 - CVE-2014-0480ΒΆ
reverse() can generate URLs pointing to other hosts. Full description
Versions affectedΒΆ
August 20, 2014 - CVE-2014-0481ΒΆ
File upload denial of service. Full description
Versions affectedΒΆ
August 20, 2014 - CVE-2014-0482ΒΆ
RemoteUserMiddleware session hijacking. Full description
Versions affectedΒΆ
August 20, 2014 - CVE-2014-0483ΒΆ
Data leakage via querystring manipulation in admin. Full description
Versions affectedΒΆ
January 13, 2015 - CVE-2015-0219ΒΆ
WSGI header spoofing via underscore/dash conflation. Full description
Versions affectedΒΆ
January 13, 2015 - CVE-2015-0220ΒΆ
Mitigated possible XSS attack via user-supplied redirect URLs. Full description
Versions affectedΒΆ
January 13, 2015 - CVE-2015-0221ΒΆ
Denial-of-service attack against django.views.static.serve(). Full
description
Versions affectedΒΆ
January 13, 2015 - CVE-2015-0222ΒΆ
Database denial-of-service with ModelMultipleChoiceField. Full description
Versions affectedΒΆ
March 9, 2015 - CVE-2015-2241ΒΆ
XSS attack via properties in ModelAdmin.readonly_fields. Full description
Versions affectedΒΆ
March 18, 2015 - CVE-2015-2316ΒΆ
Denial-of-service possibility with strip_tags(). Full description
Versions affectedΒΆ
March 18, 2015 - CVE-2015-2317ΒΆ
Mitigated possible XSS attack via user-supplied redirect URLs. Full description
Versions affectedΒΆ
May 20, 2015 - CVE-2015-3982ΒΆ
Fixed session flushing in the cached_db backend. Full description
Versions affectedΒΆ
Django 1.8 (patch)
July 8, 2015 - CVE-2015-5143ΒΆ
Denial-of-service possibility by filling session store. Full description
Versions affectedΒΆ
July 8, 2015 - CVE-2015-5144ΒΆ
Header injection possibility since validators accept newlines in input. Full description
Versions affectedΒΆ
July 8, 2015 - CVE-2015-5145ΒΆ
Denial-of-service possibility in URL validation. Full description
Versions affectedΒΆ
Django 1.8 (patch)
August 18, 2015 - CVE-2015-5963 / CVE-2015-5964ΒΆ
Denial-of-service possibility in logout() view by filling session store.
Full description
Versions affectedΒΆ
November 24, 2015 - CVE-2015-8213ΒΆ
Settings leak possibility in date template filter. Full description
Versions affectedΒΆ
February 1, 2016 - CVE-2016-2048ΒΆ
User with βchangeβ but not βaddβ permission can create objects for
ModelAdminβs with save_as=True. Full description
Versions affectedΒΆ
Django 1.9 (patch)
March 1, 2016 - CVE-2016-2512ΒΆ
Malicious redirect and possible XSS attack via user-supplied redirect URLs containing basic auth. Full description
Versions affectedΒΆ
March 1, 2016 - CVE-2016-2513ΒΆ
User enumeration through timing difference on password hasher work factor upgrade. Full description
Versions affectedΒΆ
July 18, 2016 - CVE-2016-6186ΒΆ
XSS in adminβs add/change related popup. Full description
Versions affectedΒΆ
September 26, 2016 - CVE-2016-7401ΒΆ
CSRF protection bypass on a site with Google Analytics. Full description
Versions affectedΒΆ
November 1, 2016 - CVE-2016-9013ΒΆ
User with hardcoded password created when running tests on Oracle. Full description
Versions affectedΒΆ
November 1, 2016 - CVE-2016-9014ΒΆ
DNS rebinding vulnerability when DEBUG=True. Full description
Versions affectedΒΆ
April 4, 2017 - CVE-2017-7233ΒΆ
Open redirect and possible XSS attack via user-supplied numeric redirect URLs. Full description
Versions affectedΒΆ
April 4, 2017 - CVE-2017-7234ΒΆ
Open redirect vulnerability in django.views.static.serve(). Full
description