Python/django/1.8b2
A high-level Python web framework that encourages rapid development and clean, pragmatic design.
https://pypi.org/project/django
BSD
8 Security Vulnerabilities
Path Traversal in Django
- https://nvd.nist.gov/vuln/detail/CVE-2021-33203
- https://github.com/advisories/GHSA-68w8-qjq3-2gfm
- https://docs.djangoproject.com/en/3.2/releases/security/
- https://groups.google.com/forum/#!forum/django-announce
- https://www.djangoproject.com/weblog/2021/jun/02/security-releases/
- https://security.netapp.com/advisory/ntap-20210727-0004/
- https://github.com/django/django/commit/053cc9534d174dc89daba36724ed2dcb36755b90
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
- https://github.com/django/django/commit/20c67a0693c4ede2b09af02574823485e82e4c8f
- https://github.com/django/django/commit/dfaba12cda060b8b292ae1d271b44bf810b1c5b9
- https://docs.djangoproject.com/en/3.2/releases/security
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-98.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV
- https://security.netapp.com/advisory/ntap-20210727-0004
- https://www.djangoproject.com/weblog/2021/jun/02/security-releases
Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by application developers to also show file contents, then not only the existence but also the file contents would have been exposed. In other words, there is directory traversal outside of the template root directories.
Django settings leak in date template filter
- https://nvd.nist.gov/vuln/detail/CVE-2015-8213
- https://github.com/django/django/commit/316bc3fc9437c5960c24baceb93c73f1939711e4
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/173375.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174770.html
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00014.html
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00017.html
- http://rhn.redhat.com/errata/RHSA-2016-0129.html
- http://rhn.redhat.com/errata/RHSA-2016-0156.html
- http://rhn.redhat.com/errata/RHSA-2016-0157.html
- http://rhn.redhat.com/errata/RHSA-2016-0158.html
- http://www.debian.org/security/2015/dsa-3404
- http://www.securityfocus.com/bid/77750
- http://www.securitytracker.com/id/1034237
- http://www.ubuntu.com/usn/USN-2816-1
- https://github.com/django/django/commit/3ebbda0aef9e7a90ac6208bb8f9bc21228e2c7da
- https://github.com/django/django/commit/8a01c6b53169ee079cb21ac5919fdafcc8c5e172
- https://github.com/django/django/commit/9f83fc2f66f5a0bac7c291aec55df66050bb6991
- https://www.djangoproject.com/weblog/2015/nov/24/security-releases-issued
- https://github.com/advisories/GHSA-6wcr-wcqm-3mfh
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-11.yaml
The getformat function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by `SECRETKEY`.
Django Cross-site scripting Vulnerability
- https://nvd.nist.gov/vuln/detail/CVE-2016-6186
- https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158
- https://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/
- https://www.djangoproject.com/weblog/2016/jul/18/security-releases/
- https://www.exploit-db.com/exploits/40129/
- http://packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.html
- http://rhn.redhat.com/errata/RHSA-2016-1594.html
- http://rhn.redhat.com/errata/RHSA-2016-1595.html
- http://rhn.redhat.com/errata/RHSA-2016-1596.html
- http://seclists.org/fulldisclosure/2016/Jul/53
- http://www.debian.org/security/2016/dsa-3622
- http://www.ubuntu.com/usn/USN-3039-1
- http://www.vulnerability-lab.com/get_content.php?id=1869
- https://web.archive.org/web/20201022155237/http://www.securityfocus.com/archive/1/538947/100/0/threaded
- https://web.archive.org/web/20210123154652/http://www.securityfocus.com/bid/92058
- https://web.archive.org/web/20211204042848/http://www.securitytracker.com/id/1036338
- https://github.com/advisories/GHSA-c8c8-9472-w52h
- https://github.com/django/django/commit/6fa150b2f8b601668083042324c4add534143cb1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW
- https://www.djangoproject.com/weblog/2016/jul/18/security-releases
- https://www.exploit-db.com/exploits/40129
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-2.yaml
Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML.
Django CSRF Protection Bypass
- https://nvd.nist.gov/vuln/detail/CVE-2016-7401
- https://www.djangoproject.com/weblog/2016/sep/26/security-releases/
- http://rhn.redhat.com/errata/RHSA-2016-2038.html
- http://rhn.redhat.com/errata/RHSA-2016-2039.html
- http://rhn.redhat.com/errata/RHSA-2016-2040.html
- http://rhn.redhat.com/errata/RHSA-2016-2041.html
- http://rhn.redhat.com/errata/RHSA-2016-2042.html
- http://rhn.redhat.com/errata/RHSA-2016-2043.html
- http://www.debian.org/security/2016/dsa-3678
- http://www.ubuntu.com/usn/USN-3089-1
- https://web.archive.org/web/20200227223637/http://www.securityfocus.com/bid/93182
- https://web.archive.org/web/20210927195154/http://www.securitytracker.com/id/1036899
- https://github.com/advisories/GHSA-crhm-qpjc-cm64
- https://github.com/django/django/commit/6fe846a8f08dc959003f298b5407e321c6fe3735
- https://github.com/django/django/commit/6118ab7d0676f0d622278e5be215f14fb5410b6a
- https://github.com/django/django/commit/d1bc980db1c0fffd6d60677e62f70beadb9fe64a
- https://www.djangoproject.com/weblog/2016/sep/26/security-releases
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-3.yaml
The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies.
Django User Enumeration Vulnerability
- https://nvd.nist.gov/vuln/detail/CVE-2016-2513
- https://github.com/django/django/commit/67b46ba7016da2d259c1ecc7d666d11f5e1cfaab
- https://www.djangoproject.com/weblog/2016/mar/01/security-releases/
- http://rhn.redhat.com/errata/RHSA-2016-0502.html
- http://rhn.redhat.com/errata/RHSA-2016-0504.html
- http://rhn.redhat.com/errata/RHSA-2016-0505.html
- http://rhn.redhat.com/errata/RHSA-2016-0506.html
- http://www.debian.org/security/2016/dsa-3544
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.securityfocus.com/bid/83878
- http://www.securitytracker.com/id/1035152
- http://www.ubuntu.com/usn/USN-2915-1
- http://www.ubuntu.com/usn/USN-2915-2
- http://www.ubuntu.com/usn/USN-2915-3
- https://github.com/advisories/GHSA-fp6p-5xvw-m74f
- https://web.archive.org/web/20160322001143/http://www.securitytracker.com/id/1035152
- https://web.archive.org/web/20200228001222/http://www.securityfocus.com/bid/83878
- https://github.com/django/django/commit/af7d09b0c5c6ab68e629fd9baf736f9dd203b18e
- https://github.com/django/django/commit/f4e6e02f7713a6924d16540be279909ff4091eb6
- https://www.djangoproject.com/weblog/2016/mar/01/security-releases
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-16.yaml
The password hasher in contrib/auth/hashers.py in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to enumerate users via a timing attack involving login requests.
Django vulnerable to SQL injection via _connector keyword argument in QuerySet and Q objects.
- https://nvd.nist.gov/vuln/detail/CVE-2025-64459
- https://docs.djangoproject.com/en/dev/releases/security
- https://groups.google.com/g/django-announce
- https://www.djangoproject.com/weblog/2025/nov/05/security-releases
- https://github.com/django/django/commit/06dd38324ac3d60d83d9f3adabf0dcdf423d2a85
- https://github.com/django/django/commit/59ae82e67053d281ff4562a24bbba21299f0a7d4
- https://github.com/django/django/commit/6703f364d767e949c5b0e4016433ef75063b4f9b
- https://github.com/django/django/commit/72d2c87431f2ae0431d65d0ec792047f078c8241
- https://shivasurya.me/security/django/2025/11/07/django-sql-injection-CVE-2025-64459.html
- https://github.com/advisories/GHSA-frmv-pr5f-9mcr
- https://github.com/omarkurt/django-connector-CVE-2025-64459-testbed
An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2 before 5.2.8. The methods QuerySet.filter(), QuerySet.exclude(), and QuerySet.get(), and the class Q(), are subject to SQL injection when using a suitably crafted dictionary, with dictionary expansion, as the _connector argument. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank cyberstan for reporting this issue.
Django XSS Vulnerability
- https://nvd.nist.gov/vuln/detail/CVE-2016-2512
- https://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0
- https://www.djangoproject.com/weblog/2016/mar/01/security-releases/
- http://rhn.redhat.com/errata/RHSA-2016-0502.html
- http://rhn.redhat.com/errata/RHSA-2016-0504.html
- http://rhn.redhat.com/errata/RHSA-2016-0505.html
- http://rhn.redhat.com/errata/RHSA-2016-0506.html
- http://www.debian.org/security/2016/dsa-3544
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.ubuntu.com/usn/USN-2915-1
- http://www.ubuntu.com/usn/USN-2915-2
- http://www.ubuntu.com/usn/USN-2915-3
- https://web.archive.org/web/20210123090815/http://www.securityfocus.com/bid/83879
- https://web.archive.org/web/20210413200202/http://www.securitytracker.com/id/1035152
- https://github.com/advisories/GHSA-pw27-w7w4-9qc7
- https://github.com/django/django/commit/382ab137312961ad62feb8109d70a5a581fe8350
- https://github.com/django/django/commit/fc6d147a63f89795dbcdecb0559256470fff4380
- https://www.djangoproject.com/weblog/2016/mar/01/security-releases
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-15.yaml
The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic authentication, as demonstrated by http://mysite.example.com\@attacker.com.
Django has a denial-of-service vulnerability in HttpResponseRedirect and HttpResponsePermanentRedirect on Windows
- https://nvd.nist.gov/vuln/detail/CVE-2025-64458
- https://docs.djangoproject.com/en/dev/releases/security
- https://groups.google.com/g/django-announce
- https://www.djangoproject.com/weblog/2025/nov/05/security-releases
- https://github.com/django/django/commit/3790593781d26168e7306b5b2f8ea0309de16242
- https://github.com/django/django/commit/4f5d904b63751dea9ffc3b0e046404a7fa5881ac
- https://github.com/django/django/commit/6e13348436fccf8f22982921d6a3a3e65c956a9f
- https://github.com/django/django/commit/770eea38d7a0e9ba9455140b5a9a9e33618226a7
- https://github.com/advisories/GHSA-qw25-v68c-qjf3
An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2 before 5.2.8. NFKC normalization in Python is slow on Windows. As a consequence, django.http.HttpResponseRedirect, django.http.HttpResponsePermanentRedirect, and the shortcut django.shortcuts.redirect were subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Seokchan Yoon for reporting this issue.
418 Other Versions
| Version | License | Security | Released | |
|---|---|---|---|---|
| 3.2.20 | BSD-3-Clause AND BSD | 6 | 1970-01-01 - 00:00 | almost 56 years |
| 3.2.19 | BSD-3-Clause AND BSD | 7 | 1970-01-01 - 00:00 | almost 56 years |
| 3.2.18 | BSD-3-Clause AND BSD | 7 | 1970-01-01 - 00:00 | almost 56 years |
| 3.2.17 | BSD-3-Clause AND BSD | 7 | 1970-01-01 - 00:00 | almost 56 years |
| 3.2.16 | BSD-3-Clause AND BSD | 8 | 1970-01-01 - 00:00 | almost 56 years |
| 3.2.15 | BSD-3-Clause AND BSD | 9 | 1970-01-01 - 00:00 | almost 56 years |
| 3.2.14 | BSD-3-Clause AND BSD | 9 | 2022-07-04 - 07:57 | over 3 years |
| 3.2.13 | BSD-3-Clause AND BSD | 10 | 2022-04-11 - 07:52 | over 3 years |
| 3.2.12 | BSD-3-Clause AND BSD | 10 | 2022-02-01 - 07:56 | almost 4 years |
| 3.2.11 | BSD-3-Clause AND BSD | 12 | 2022-01-04 - 09:53 | almost 4 years |
| 3.2.10 | BSD-3-Clause AND BSD | 12 | 2021-12-07 - 07:34 | about 4 years |
| 3.2.9 | BSD-3-Clause AND BSD | 12 | 2021-11-01 - 09:31 | about 4 years |
| 3.2.8 | BSD-3-Clause AND BSD | 12 | 2021-10-05 - 07:46 | about 4 years |
| 3.2.7 | BSD-3-Clause AND BSD | 12 | 2021-09-01 - 05:57 | over 4 years |
| 3.2.6 | BSD-3-Clause AND BSD | 12 | 2021-08-02 - 06:28 | over 4 years |
| 3.2.5 | BSD-3-Clause AND BSD | 12 | 2021-07-01 - 07:40 | over 4 years |
| 3.2.4 | BSD-3-Clause AND BSD | 12 | 2021-06-02 - 08:54 | over 4 years |
| 3.2.3 | BSD-3-Clause AND BSD | 13 | 2021-05-13 - 07:36 | over 4 years |
| 3.2.2 | BSD-3-Clause AND BSD | 13 | 2021-05-06 - 07:40 | over 4 years |
| 3.2.1 | BSD-3-Clause AND BSD | 13 | 2021-05-04 - 08:47 | over 4 years |
| 3.2 | BSD-3-Clause AND BSD | 13 | 2021-04-06 - 09:33 | over 4 years |
| 3.1.14 | BSD-3-Clause AND BSD | 2 | 2021-12-07 - 07:34 | about 4 years |
| 3.1.13 | BSD-3-Clause AND BSD | 2 | 2021-07-01 - 07:39 | over 4 years |
| 3.1.12 | BSD-3-Clause AND BSD | 2 | 2021-06-02 - 08:53 | over 4 years |
| 3.1.11 | BSD-3-Clause AND BSD | 3 | 2021-05-13 - 07:36 | over 4 years |
| 3.1.10 | BSD-3-Clause AND BSD | 3 | 2021-05-06 - 07:40 | over 4 years |
| 3.1.9 | BSD-3-Clause AND BSD | 3 | 2021-05-04 - 08:47 | over 4 years |
| 3.1.8 | BSD-3-Clause AND BSD | 3 | 2021-04-06 - 07:34 | over 4 years |
| 3.1.7 | BSD-3-Clause AND BSD | 3 | 2021-02-19 - 09:08 | almost 5 years |
| 3.1.6 | BSD-3-Clause AND BSD | 3 | 2021-02-01 - 09:28 | almost 5 years |
| 3.1.5 | BSD-3-Clause AND BSD | 4 | 2021-01-04 - 07:54 | almost 5 years |
| 3.1.4 | BSD-3-Clause AND BSD | 4 | 2020-12-01 - 06:03 | about 5 years |
| 3.1.3 | BSD-3-Clause AND BSD | 4 | 2020-11-02 - 08:12 | about 5 years |
| 3.1.2 | BSD-3-Clause AND BSD | 4 | 2020-10-01 - 05:38 | about 5 years |
| 3.1.1 | BSD-3-Clause AND BSD | 4 | 2020-09-01 - 09:14 | over 5 years |
| 3.1 | BSD-3-Clause AND BSD | 6 | 2020-08-04 - 08:07 | over 5 years |
| 3.0.14 | BSD | 3 | 2021-04-06 - 07:34 | over 4 years |
| 3.0.13 | BSD | 3 | 2021-02-19 - 09:08 | almost 5 years |
| 3.0.12 | BSD | 3 | 2021-02-01 - 09:28 | almost 5 years |
| 3.0.11 | BSD | 4 | 2020-11-02 - 08:12 | about 5 years |
| 3.0.10 | BSD | 4 | 2020-09-01 - 09:14 | over 5 years |
| 3.0.9 | BSD | 6 | 2020-08-03 - 07:23 | over 5 years |
| 3.0.8 | BSD | 6 | 2020-07-01 - 04:49 | over 5 years |
| 3.0.7 | BSD | 6 | 2020-06-03 - 09:36 | over 5 years |
| 3.0.6 | BSD | 8 | 2020-05-04 - 05:26 | over 5 years |
| 3.0.5 | BSD | 8 | 2020-04-01 - 07:59 | over 5 years |
| 3.0.4 | BSD | 8 | 2020-03-04 - 09:31 | almost 6 years |
| 3.0.3 | BSD | 9 | 2020-02-03 - 09:50 | almost 6 years |
| 3.0.2 | BSD | 9 | 2020-01-02 - 07:22 | almost 6 years |
| 3.0.1 | BSD | 9 | 2019-12-18 - 08:59 | almost 6 years |
