Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/django@4.0a1
purl pkg:pypi/django@4.0a1
Next non-vulnerable version 4.2.29
Latest non-vulnerable version 6.0.4
Risk 10.0
Vulnerabilities affecting this package (11)
Vulnerability Summary Fixed by
VCID-42x9-8c3c-bug1
Aliases:
BIT-django-2023-31047
CVE-2023-31047
GHSA-r3xc-prgr-mg9p
PYSEC-2023-61
In Django 3.2 before 3.2.19, 4.x before 4.1.9, and 4.2 before 4.2.1, it was possible to bypass validation when using one form field to upload multiple files. This multiple upload has never been supported by forms.FileField or forms.ImageField (only the last uploaded file was validated). However, Django's "Uploading multiple files" documentation suggested otherwise.
4.1.9
Affected by 9 other vulnerabilities.
4.2.1
Affected by 38 other vulnerabilities.
VCID-84mm-45p6-xkau
Aliases:
CVE-2025-64458
GHSA-qw25-v68c-qjf3
Django has a denial-of-service vulnerability in HttpResponseRedirect and HttpResponsePermanentRedirect on Windows 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.
4.2.26
Affected by 10 other vulnerabilities.
5.1.14
Affected by 2 other vulnerabilities.
5.2.8
Affected by 10 other vulnerabilities.
6.0a1
Affected by 6 other vulnerabilities.
VCID-896g-hqec-ryb9
Aliases:
BIT-django-2025-48432
CVE-2025-48432
GHSA-7xr5-9hcq-chf9
PYSEC-2025-47
An issue was discovered in Django 5.2 before 5.2.2, 5.1 before 5.1.10, and 4.2 before 4.2.22. Internal HTTP response logging does not escape request.path, which allows remote attackers to potentially manipulate log output via crafted URLs. This may lead to log injection or forgery when logs are viewed in terminals or processed by external systems.
4.2.22
Affected by 15 other vulnerabilities.
5.1.10
Affected by 7 other vulnerabilities.
5.2.2
Affected by 15 other vulnerabilities.
VCID-9uzd-mmyv-mfh4
Aliases:
CVE-2025-64459
GHSA-frmv-pr5f-9mcr
Django vulnerable to SQL injection via _connector keyword argument in QuerySet and Q objects. 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.
4.2.26
Affected by 10 other vulnerabilities.
5.1.14
Affected by 2 other vulnerabilities.
5.2.8
Affected by 10 other vulnerabilities.
6.0a1
Affected by 6 other vulnerabilities.
VCID-e2jd-yd4j-kqgt
Aliases:
CVE-2024-45231
GHSA-rrqc-c2jx-6jgv
Django allows enumeration of user e-mail addresses An issue was discovered in Django v5.1.1, v5.0.9, and v4.2.16. The django.contrib.auth.forms.PasswordResetForm class, when used in a view implementing password reset flows, allows remote attackers to enumerate user e-mail addresses by sending password reset requests and observing the outcome (only when e-mail sending is consistently failing).
4.2.16
Affected by 22 other vulnerabilities.
5.0.9
Affected by 10 other vulnerabilities.
5.1.1
Affected by 15 other vulnerabilities.
VCID-nese-5485-hkbs
Aliases:
BIT-django-2023-23969
CVE-2023-23969
GHSA-q2jf-h9jm-m7p4
PYSEC-2023-12
In Django 3.2 before 3.2.17, 4.0 before 4.0.9, and 4.1 before 4.1.6, the parsed values of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if the raw value of Accept-Language headers is very large.
4.0.9
Affected by 8 other vulnerabilities.
4.1.6
Affected by 11 other vulnerabilities.
4.2a1
Affected by 17 other vulnerabilities.
VCID-t6uc-dfrd-jyfg
Aliases:
BIT-django-2022-34265
CVE-2022-34265
GHSA-p64x-8rxx-wf6q
PYSEC-2022-213
An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications that constrain the lookup name and kind choice to a known safe list are unaffected.
4.0.6
Affected by 11 other vulnerabilities.
VCID-w4pr-k5nj-ckgy
Aliases:
CVE-2025-57833
GHSA-6w2r-r2m5-xq5w
Django is subject to SQL injection through its column aliases An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias().
4.2.24
Affected by 14 other vulnerabilities.
5.1.12
Affected by 6 other vulnerabilities.
5.2.6
Affected by 14 other vulnerabilities.
VCID-wz1q-1tjp-4qhw
Aliases:
BIT-django-2023-36053
CVE-2023-36053
GHSA-jh3w-4vvf-mjgr
PYSEC-2023-100
In Django 3.2 before 3.2.20, 4 before 4.1.10, and 4.2 before 4.2.3, EmailValidator and URLValidator are subject to a potential ReDoS (regular expression denial of service) attack via a very large number of domain name labels of emails and URLs.
4.1.10
Affected by 8 other vulnerabilities.
4.2.3
Affected by 37 other vulnerabilities.
VCID-ypub-ukuh-p3aw
Aliases:
BIT-django-2023-24580
CVE-2023-24580
GHSA-2hrw-hx67-34x6
PYSEC-2023-13
An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0 before 4.0.10, and 4.1 before 4.1.7. Passing certain inputs (e.g., an excessive number of parts) to multipart forms could result in too many open files or memory exhaustion, and provided a potential vector for a denial-of-service attack.
4.0.10
Affected by 7 other vulnerabilities.
4.1.7
Affected by 10 other vulnerabilities.
VCID-z8z1-cjee-kfeg
Aliases:
BIT-django-2021-45115
CVE-2021-45115
GHSA-53qw-q765-4fww
PYSEC-2022-1
An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. UserAttributeSimilarityValidator incurred significant overhead in evaluating a submitted password that was artificially large in relation to the comparison values. In a situation where access to user registration was unrestricted, this provided a potential vector for a denial-of-service attack.
4.0.1
Affected by 16 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T02:32:05.568090+00:00 GHSA Importer Affected by VCID-t6uc-dfrd-jyfg https://github.com/advisories/GHSA-p64x-8rxx-wf6q 38.4.0
2026-04-16T01:59:29.836173+00:00 GHSA Importer Affected by VCID-z8z1-cjee-kfeg https://github.com/advisories/GHSA-53qw-q765-4fww 38.4.0
2026-04-12T01:13:10.729215+00:00 GitLab Importer Affected by VCID-84mm-45p6-xkau https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-64458.yml 38.3.0
2026-04-12T01:13:07.328092+00:00 GitLab Importer Affected by VCID-9uzd-mmyv-mfh4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-64459.yml 38.3.0
2026-04-12T01:01:13.312423+00:00 GitLab Importer Affected by VCID-w4pr-k5nj-ckgy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-57833.yml 38.3.0
2026-04-12T00:50:06.532392+00:00 GitLab Importer Affected by VCID-896g-hqec-ryb9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-48432.yml 38.3.0
2026-04-12T00:28:53.804630+00:00 GitLab Importer Affected by VCID-e2jd-yd4j-kqgt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2024-45231.yml 38.3.0
2026-04-11T23:51:43.896726+00:00 GitLab Importer Affected by VCID-wz1q-1tjp-4qhw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-36053.yml 38.3.0
2026-04-11T23:47:28.920549+00:00 GitLab Importer Affected by VCID-42x9-8c3c-bug1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-31047.yml 38.3.0
2026-04-11T23:40:01.074532+00:00 GitLab Importer Affected by VCID-ypub-ukuh-p3aw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-24580.yml 38.3.0
2026-04-11T23:38:52.600164+00:00 GitLab Importer Affected by VCID-nese-5485-hkbs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-23969.yml 38.3.0
2026-04-11T23:21:08.381889+00:00 GitLab Importer Affected by VCID-t6uc-dfrd-jyfg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2022-34265.yml 38.3.0
2026-04-11T22:51:35.305069+00:00 GitLab Importer Affected by VCID-z8z1-cjee-kfeg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2021-45115.yml 38.3.0
2026-04-11T13:57:33.645222+00:00 GHSA Importer Affected by VCID-t6uc-dfrd-jyfg https://github.com/advisories/GHSA-p64x-8rxx-wf6q 38.3.0
2026-04-11T13:26:45.712842+00:00 GHSA Importer Affected by VCID-z8z1-cjee-kfeg https://github.com/advisories/GHSA-53qw-q765-4fww 38.3.0
2026-04-03T01:22:07.439333+00:00 GitLab Importer Affected by VCID-84mm-45p6-xkau https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-64458.yml 38.1.0
2026-04-03T01:22:04.278005+00:00 GitLab Importer Affected by VCID-9uzd-mmyv-mfh4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-64459.yml 38.1.0
2026-04-03T01:09:28.040539+00:00 GitLab Importer Affected by VCID-w4pr-k5nj-ckgy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-57833.yml 38.1.0
2026-04-03T00:58:09.995073+00:00 GitLab Importer Affected by VCID-896g-hqec-ryb9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-48432.yml 38.1.0
2026-04-03T00:36:39.684729+00:00 GitLab Importer Affected by VCID-e2jd-yd4j-kqgt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2024-45231.yml 38.1.0
2026-04-02T23:54:58.035912+00:00 GitLab Importer Affected by VCID-wz1q-1tjp-4qhw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-36053.yml 38.1.0
2026-04-02T23:50:54.964071+00:00 GitLab Importer Affected by VCID-42x9-8c3c-bug1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-31047.yml 38.1.0
2026-04-02T23:44:07.537391+00:00 GitLab Importer Affected by VCID-ypub-ukuh-p3aw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-24580.yml 38.1.0
2026-04-02T23:43:06.864464+00:00 GitLab Importer Affected by VCID-nese-5485-hkbs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-23969.yml 38.1.0
2026-04-02T23:28:04.221564+00:00 GitLab Importer Affected by VCID-t6uc-dfrd-jyfg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2022-34265.yml 38.1.0
2026-04-02T23:01:01.200994+00:00 GitLab Importer Affected by VCID-z8z1-cjee-kfeg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2021-45115.yml 38.1.0
2026-04-02T16:59:48.866643+00:00 GHSA Importer Affected by VCID-wz1q-1tjp-4qhw https://github.com/advisories/GHSA-jh3w-4vvf-mjgr 38.1.0
2026-04-02T16:59:28.503187+00:00 GHSA Importer Affected by VCID-42x9-8c3c-bug1 https://github.com/advisories/GHSA-r3xc-prgr-mg9p 38.1.0
2026-04-02T16:58:57.359047+00:00 GHSA Importer Affected by VCID-ypub-ukuh-p3aw https://github.com/advisories/GHSA-2hrw-hx67-34x6 38.1.0
2026-04-02T16:58:53.987081+00:00 GHSA Importer Affected by VCID-nese-5485-hkbs https://github.com/advisories/GHSA-q2jf-h9jm-m7p4 38.1.0
2026-04-02T14:43:54.620270+00:00 GHSA Importer Affected by VCID-t6uc-dfrd-jyfg https://github.com/advisories/GHSA-p64x-8rxx-wf6q 38.1.0
2026-04-02T14:16:59.139793+00:00 GHSA Importer Affected by VCID-z8z1-cjee-kfeg https://github.com/advisories/GHSA-53qw-q765-4fww 38.1.0
2026-04-01T17:49:14.161744+00:00 GitLab Importer Affected by VCID-t6uc-dfrd-jyfg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2022-34265.yml 38.0.0
2026-04-01T16:02:46.202975+00:00 GHSA Importer Affected by VCID-t6uc-dfrd-jyfg https://github.com/advisories/GHSA-p64x-8rxx-wf6q 38.0.0
2026-04-01T15:59:19.486763+00:00 GHSA Importer Affected by VCID-z8z1-cjee-kfeg https://github.com/advisories/GHSA-53qw-q765-4fww 38.0.0
2026-04-01T12:51:29.769896+00:00 GitLab Importer Affected by VCID-wz1q-1tjp-4qhw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-36053.yml 38.0.0
2026-04-01T12:51:15.435457+00:00 GitLab Importer Affected by VCID-42x9-8c3c-bug1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-31047.yml 38.0.0
2026-04-01T12:50:54.147621+00:00 GitLab Importer Affected by VCID-ypub-ukuh-p3aw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-24580.yml 38.0.0
2026-04-01T12:50:50.649924+00:00 GitLab Importer Affected by VCID-nese-5485-hkbs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2023-23969.yml 38.0.0
2026-04-01T12:49:16.555071+00:00 GitLab Importer Affected by VCID-z8z1-cjee-kfeg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2021-45115.yml 38.0.0