Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/django@5.2a1
purl pkg:pypi/django@5.2a1
Next non-vulnerable version 5.2.12
Latest non-vulnerable version 6.0.4
Risk 10.0
Vulnerabilities affecting this package (11)
Vulnerability Summary Fixed by
VCID-28g3-ubx6-ebff
Aliases:
CVE-2026-1285
GHSA-4rrr-2h4v-f3j9
Django has Inefficient Algorithmic Complexity An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `django.utils.text.Truncator.chars()` and `Truncator.words()` methods (with `html=True`) and the `truncatechars_html` and `truncatewords_html` template filters allow a remote attacker to cause a potential denial-of-service via crafted inputs containing a large number of unmatched HTML end tags. 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.
5.2.11
Affected by 2 other vulnerabilities.
6.0.2
Affected by 2 other vulnerabilities.
VCID-2tfv-rtq7-2fg9
Aliases:
CVE-2025-13473
GHSA-2mcm-79hx-8fxw
Django has Observable Timing Discrepancy An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. The `django.contrib.auth.handlers.modwsgi.check_password()` function for authentication via `mod_wsgi` allows remote attackers to enumerate users via a timing attack. 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 Stackered for reporting this issue.
5.2.11
Affected by 2 other vulnerabilities.
6.0.2
Affected by 2 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.
5.2.8
Affected by 10 other vulnerabilities.
6.0a1
Affected by 6 other vulnerabilities.
VCID-8qu1-45n9-gyb1
Aliases:
CVE-2026-1287
GHSA-gvg8-93h5-g6qq
Django has an SQL Injection issue An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `FilteredRelation` is subject to SQL injection in column aliases via control characters, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` passed to `QuerySet` methods `annotate()`, `aggregate()`, `extra()`, `values()`, `values_list()`, and `alias()`. 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 Solomon Kebede for reporting this issue.
5.2.11
Affected by 2 other vulnerabilities.
6.0.2
Affected by 2 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.
5.2.8
Affected by 10 other vulnerabilities.
6.0a1
Affected by 6 other vulnerabilities.
VCID-e9k9-1s9f-dbgv
Aliases:
CVE-2025-14550
GHSA-33mw-q7rj-mjwj
Django has Inefficient Algorithmic Complexity An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `ASGIRequest` allows a remote attacker to cause a potential denial-of-service via a crafted request with multiple duplicate headers. 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 Jiyong Yang for reporting this issue.
5.2.11
Affected by 2 other vulnerabilities.
6.0.2
Affected by 2 other vulnerabilities.
VCID-msge-1mfu-7qfa
Aliases:
CVE-2026-1312
GHSA-6426-9fv3-65x8
Django has an SQL Injection issue An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `.QuerySet.order_by()` is subject to SQL injection in column aliases containing periods when the same alias is, using a suitably crafted dictionary, with dictionary expansion, used in `FilteredRelation`. 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 Solomon Kebede for reporting this issue.
5.2.11
Affected by 2 other vulnerabilities.
6.0.2
Affected by 2 other vulnerabilities.
VCID-ukkt-wgau-t3et
Aliases:
CVE-2025-64460
GHSA-vrcr-9hj9-jcg6
Django is vulnerable to DoS via XML serializer text extraction An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. Algorithmic complexity in `django.core.serializers.xml_serializer.getInnerText()` allows a remote attacker to cause a potential denial-of-service attack triggering CPU and memory exhaustion via specially crafted XML input processed by the XML `Deserializer`. 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.
5.2.9
Affected by 8 other vulnerabilities.
6.0a1
Affected by 6 other vulnerabilities.
VCID-vwt9-q3dt-vbfg
Aliases:
CVE-2025-13372
GHSA-rqw2-ghq9-44m7
Django is vulnerable to SQL injection in column aliases An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. `FilteredRelation` is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` passed to `QuerySet.annotate()` or `QuerySet.alias()` on PostgreSQL. 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 Stackered for reporting this issue.
5.2.9
Affected by 8 other vulnerabilities.
6.0a1
Affected by 6 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().
5.2.6
Affected by 14 other vulnerabilities.
VCID-ysyp-h7ja-yff3
Aliases:
CVE-2026-1207
GHSA-mwm9-4648-f68q
Django has an SQL Injection issue An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. Raster lookups on ``RasterField`` (only implemented on PostGIS) allows remote attackers to inject SQL via the band index parameter. 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 Tarek Nakkouch for reporting this issue.
5.2.11
Affected by 2 other vulnerabilities.
6.0.2
Affected by 2 other vulnerabilities.
Vulnerabilities fixed by this package (4)
Vulnerability Summary Aliases
VCID-c6xy-v4sf-u3hn Django vulnerable to partial directory traversal via archives An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. The django.utils.archive.extract() function, used by the "startapp --template" and "startproject --template" commands, allows partial directory traversal via an archive with file paths sharing a common prefix with the target directory. CVE-2025-59682
GHSA-q95w-c7qg-hrff
VCID-mux4-uv98-hbbw Django vulnerable to SQL injection in column aliases An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL injection in column aliases, when using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to these methods (on MySQL and MariaDB). CVE-2025-59681
GHSA-hpr9-3m2g-3j9p
VCID-p9fd-1qx2-8ubc An issue was discovered in Django 5.1 before 5.1.8 and 5.0 before 5.0.14. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.views.LoginView, django.contrib.auth.views.LogoutView, and django.views.i18n.set_language are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters. BIT-django-2025-27556
CVE-2025-27556
GHSA-wqfg-m96j-85vm
PYSEC-2025-14
VCID-xgv1-s2ek-q3dp An issue was discovered in Django 5.1 before 5.1.7, 5.0 before 5.0.13, and 4.2 before 4.2.20. The django.utils.text.wrap() method and wordwrap template filter are subject to a potential denial-of-service attack when used with very long strings. BIT-django-2025-26699
CVE-2025-26699
GHSA-p3fp-8748-vqfq
PYSEC-2025-13

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-12T01:39:25.568419+00:00 GitLab Importer Affected by VCID-2tfv-rtq7-2fg9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-13473.yml 38.3.0
2026-04-12T01:39:23.656483+00:00 GitLab Importer Affected by VCID-8qu1-45n9-gyb1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1287.yml 38.3.0
2026-04-12T01:39:21.834578+00:00 GitLab Importer Affected by VCID-e9k9-1s9f-dbgv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-14550.yml 38.3.0
2026-04-12T01:39:17.477388+00:00 GitLab Importer Affected by VCID-ysyp-h7ja-yff3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1207.yml 38.3.0
2026-04-12T01:38:50.194048+00:00 GitLab Importer Affected by VCID-msge-1mfu-7qfa https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1312.yml 38.3.0
2026-04-12T01:38:49.555058+00:00 GitLab Importer Affected by VCID-28g3-ubx6-ebff https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1285.yml 38.3.0
2026-04-12T01:23:57.741267+00:00 GitLab Importer Affected by VCID-ukkt-wgau-t3et https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-64460.yml 38.3.0
2026-04-12T01:23:40.241197+00:00 GitLab Importer Affected by VCID-vwt9-q3dt-vbfg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-13372.yml 38.3.0
2026-04-12T01:13:11.080992+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.686216+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:07:53.781205+00:00 GitLab Importer Fixing VCID-c6xy-v4sf-u3hn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-59682.yml 38.3.0
2026-04-12T01:07:49.589492+00:00 GitLab Importer Fixing VCID-mux4-uv98-hbbw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-59681.yml 38.3.0
2026-04-12T01:01:13.720612+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:45:07.581012+00:00 GitLab Importer Fixing VCID-p9fd-1qx2-8ubc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-27556.yml 38.3.0
2026-04-12T00:41:31.862079+00:00 GitLab Importer Fixing VCID-xgv1-s2ek-q3dp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-26699.yml 38.3.0
2026-04-07T04:58:42.920373+00:00 GHSA Importer Affected by VCID-w4pr-k5nj-ckgy https://github.com/advisories/GHSA-6w2r-r2m5-xq5w 38.1.0
2026-04-03T01:48:20.451366+00:00 GitLab Importer Affected by VCID-2tfv-rtq7-2fg9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-13473.yml 38.1.0
2026-04-03T01:48:18.566027+00:00 GitLab Importer Affected by VCID-8qu1-45n9-gyb1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1287.yml 38.1.0
2026-04-03T01:48:16.800754+00:00 GitLab Importer Affected by VCID-e9k9-1s9f-dbgv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-14550.yml 38.1.0
2026-04-03T01:48:12.623577+00:00 GitLab Importer Affected by VCID-ysyp-h7ja-yff3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1207.yml 38.1.0
2026-04-03T01:47:47.256097+00:00 GitLab Importer Affected by VCID-msge-1mfu-7qfa https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1312.yml 38.1.0
2026-04-03T01:47:46.163398+00:00 GitLab Importer Affected by VCID-28g3-ubx6-ebff https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1285.yml 38.1.0
2026-04-03T01:32:37.553749+00:00 GitLab Importer Affected by VCID-ukkt-wgau-t3et https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-64460.yml 38.1.0
2026-04-03T01:32:20.130325+00:00 GitLab Importer Affected by VCID-vwt9-q3dt-vbfg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-13372.yml 38.1.0
2026-04-03T01:22:07.808995+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.631947+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:16:32.142083+00:00 GitLab Importer Fixing VCID-c6xy-v4sf-u3hn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-59682.yml 38.1.0
2026-04-03T01:16:27.732309+00:00 GitLab Importer Fixing VCID-mux4-uv98-hbbw https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-59681.yml 38.1.0
2026-04-03T01:09:28.426003+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:53:03.499407+00:00 GitLab Importer Fixing VCID-p9fd-1qx2-8ubc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-27556.yml 38.1.0
2026-04-03T00:49:28.551137+00:00 GitLab Importer Fixing VCID-xgv1-s2ek-q3dp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-26699.yml 38.1.0
2026-04-02T12:42:09.042605+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.0.0
2026-04-01T16:07:54.386432+00:00 GHSA Importer Affected by VCID-msge-1mfu-7qfa https://github.com/advisories/GHSA-6426-9fv3-65x8 38.0.0
2026-04-01T16:07:54.369829+00:00 GHSA Importer Affected by VCID-8qu1-45n9-gyb1 https://github.com/advisories/GHSA-gvg8-93h5-g6qq 38.0.0
2026-04-01T16:07:54.290027+00:00 GHSA Importer Affected by VCID-2tfv-rtq7-2fg9 https://github.com/advisories/GHSA-2mcm-79hx-8fxw 38.0.0
2026-04-01T16:07:54.256961+00:00 GHSA Importer Affected by VCID-ysyp-h7ja-yff3 https://github.com/advisories/GHSA-mwm9-4648-f68q 38.0.0
2026-04-01T16:07:54.219714+00:00 GHSA Importer Affected by VCID-28g3-ubx6-ebff https://github.com/advisories/GHSA-4rrr-2h4v-f3j9 38.0.0
2026-04-01T16:07:54.201573+00:00 GHSA Importer Affected by VCID-e9k9-1s9f-dbgv https://github.com/advisories/GHSA-33mw-q7rj-mjwj 38.0.0
2026-04-01T16:07:14.587127+00:00 GHSA Importer Affected by VCID-ukkt-wgau-t3et https://github.com/advisories/GHSA-vrcr-9hj9-jcg6 38.0.0
2026-04-01T16:07:14.517001+00:00 GHSA Importer Affected by VCID-vwt9-q3dt-vbfg https://github.com/advisories/GHSA-rqw2-ghq9-44m7 38.0.0
2026-04-01T16:07:05.162070+00:00 GHSA Importer Affected by VCID-84mm-45p6-xkau https://github.com/advisories/GHSA-qw25-v68c-qjf3 38.0.0
2026-04-01T16:07:05.018882+00:00 GHSA Importer Affected by VCID-9uzd-mmyv-mfh4 https://github.com/advisories/GHSA-frmv-pr5f-9mcr 38.0.0
2026-04-01T12:53:48.063030+00:00 GitLab Importer Affected by VCID-2tfv-rtq7-2fg9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-13473.yml 38.0.0
2026-04-01T12:53:47.978555+00:00 GitLab Importer Affected by VCID-8qu1-45n9-gyb1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1287.yml 38.0.0
2026-04-01T12:53:47.907598+00:00 GitLab Importer Affected by VCID-e9k9-1s9f-dbgv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-14550.yml 38.0.0
2026-04-01T12:53:47.780233+00:00 GitLab Importer Affected by VCID-ysyp-h7ja-yff3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1207.yml 38.0.0
2026-04-01T12:53:46.951207+00:00 GitLab Importer Affected by VCID-msge-1mfu-7qfa https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1312.yml 38.0.0
2026-04-01T12:53:46.888133+00:00 GitLab Importer Affected by VCID-28g3-ubx6-ebff https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-1285.yml 38.0.0
2026-04-01T12:53:26.927116+00:00 GitLab Importer Affected by VCID-ukkt-wgau-t3et https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-64460.yml 38.0.0
2026-04-01T12:53:26.602957+00:00 GitLab Importer Affected by VCID-vwt9-q3dt-vbfg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-13372.yml 38.0.0
2026-04-01T12:53:08.486316+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.0.0
2026-04-01T12:53:08.331977+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.0.0