Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/django@5.1.2
purl pkg:pypi/django@5.1.2
Next non-vulnerable version 5.1.15
Latest non-vulnerable version 6.0.4
Risk 10.0
Vulnerabilities affecting this package (15)
Vulnerability Summary Fixed by
VCID-3sac-ah8j-pucd
Aliases:
BIT-django-2024-53908
CVE-2024-53908
GHSA-m9g8-fxxm-xg86
PYSEC-2024-157
Django SQL injection in HasKey(lhs, rhs) on Oracle An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection if untrusted data is used as an lhs value. (Applications that use the jsonfield.has_key lookup via __ are unaffected.)
5.1.4
Affected by 12 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.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.
5.1.10
Affected by 7 other vulnerabilities.
5.2.2
Affected by 15 other vulnerabilities.
VCID-9abh-apwm-ebab
Aliases:
BIT-django-2025-32873
CVE-2025-32873
GHSA-8j24-cjrq-gr2m
PYSEC-2025-37
An issue was discovered in Django 4.2 before 4.2.21, 5.1 before 5.1.9, and 5.2 before 5.2.1. The django.utils.html.strip_tags() function is vulnerable to a potential denial-of-service (slow performance) when processing inputs containing large sequences of incomplete HTML tags. The template filter striptags is also vulnerable, because it is built on top of strip_tags().
5.1.9
Affected by 8 other vulnerabilities.
5.2.1
Affected by 16 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.1.14
Affected by 2 other vulnerabilities.
5.2.8
Affected by 10 other vulnerabilities.
6.0a1
Affected by 6 other vulnerabilities.
VCID-c6xy-v4sf-u3hn
Aliases:
CVE-2025-59682
GHSA-q95w-c7qg-hrff
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.
5.1.13
Affected by 4 other vulnerabilities.
5.2a1
Affected by 11 other vulnerabilities.
5.2.7
Affected by 12 other vulnerabilities.
6.0a1
Affected by 6 other vulnerabilities.
VCID-e87q-1j8h-93hh
Aliases:
BIT-django-2024-56374
CVE-2024-56374
GHSA-qcgg-j2x8-h9g8
PYSEC-2025-1
An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and 4.2 before 4.2.18. Lack of upper-bound limit enforcement in strings passed when performing IPv6 validation could lead to a potential denial-of-service attack. The undocumented and private functions clean_ipv6_address and is_valid_ipv6_address are vulnerable, as is the django.forms.GenericIPAddressField form field. (The django.db.models.GenericIPAddressField model field is not affected.)
5.1.5
Affected by 11 other vulnerabilities.
VCID-mux4-uv98-hbbw
Aliases:
CVE-2025-59681
GHSA-hpr9-3m2g-3j9p
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).
5.1.13
Affected by 4 other vulnerabilities.
5.2a1
Affected by 11 other vulnerabilities.
5.2.7
Affected by 12 other vulnerabilities.
6.0a1
Affected by 6 other vulnerabilities.
VCID-p9fd-1qx2-8ubc
Aliases:
BIT-django-2025-27556
CVE-2025-27556
GHSA-wqfg-m96j-85vm
PYSEC-2025-14
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.
5.1.8
Affected by 9 other vulnerabilities.
5.2a1
Affected by 11 other vulnerabilities.
VCID-rmdp-bnjj-zuf2
Aliases:
PYSEC-2024-156
An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. The strip_tags() method and striptags template filter are subject to a potential denial-of-service attack via certain inputs containing large sequences of nested incomplete HTML entities.
5.1.4
Affected by 12 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.1.15
Affected by 0 other vulnerabilities.
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.1.15
Affected by 0 other vulnerabilities.
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.1.12
Affected by 6 other vulnerabilities.
5.2.6
Affected by 14 other vulnerabilities.
VCID-wwa5-mhgu-9khz
Aliases:
CVE-2024-53907
GHSA-8498-2h75-472j
Django denial-of-service in django.utils.html.strip_tags() An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. The strip_tags() method and striptags template filter are subject to a potential denial-of-service attack via certain inputs containing large sequences of nested incomplete HTML entities.
5.1.4
Affected by 12 other vulnerabilities.
VCID-xgv1-s2ek-q3dp
Aliases:
BIT-django-2025-26699
CVE-2025-26699
GHSA-p3fp-8748-vqfq
PYSEC-2025-13
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.
5.1.7
Affected by 10 other vulnerabilities.
5.2a1
Affected by 11 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-12T01:23:57.691875+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.192231+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.038211+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.636521+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.742970+00:00 GitLab Importer Affected by 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.546937+00:00 GitLab Importer Affected by 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.659714+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.849177+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:48:05.233578+00:00 GitLab Importer Affected by VCID-9abh-apwm-ebab https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-32873.yml 38.3.0
2026-04-12T00:45:07.559614+00:00 GitLab Importer Affected by 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.844296+00:00 GitLab Importer Affected by VCID-xgv1-s2ek-q3dp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-26699.yml 38.3.0
2026-04-12T00:35:08.180010+00:00 GitLab Importer Affected by VCID-3sac-ah8j-pucd https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2024-53908.yml 38.3.0
2026-04-12T00:35:07.734762+00:00 GitLab Importer Affected by VCID-wwa5-mhgu-9khz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2024-53907.yml 38.3.0
2026-04-03T01:32:37.505728+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.082368+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.765061+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.587707+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.102256+00:00 GitLab Importer Affected by 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.692071+00:00 GitLab Importer Affected by 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.365726+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:10.303166+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:56:05.225435+00:00 GitLab Importer Affected by VCID-9abh-apwm-ebab https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-32873.yml 38.1.0
2026-04-03T00:53:03.478923+00:00 GitLab Importer Affected by 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.533459+00:00 GitLab Importer Affected by VCID-xgv1-s2ek-q3dp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-26699.yml 38.1.0
2026-04-03T00:42:54.705597+00:00 GitLab Importer Affected by VCID-3sac-ah8j-pucd https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2024-53908.yml 38.1.0
2026-04-03T00:42:54.304921+00:00 GitLab Importer Affected by VCID-wwa5-mhgu-9khz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2024-53907.yml 38.1.0
2026-04-01T15:17:44.285109+00:00 PyPI Importer Affected by VCID-896g-hqec-ryb9 https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:17:39.536876+00:00 PyPI Importer Affected by VCID-9abh-apwm-ebab https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:17:36.766107+00:00 PyPI Importer Affected by VCID-p9fd-1qx2-8ubc https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:17:33.209288+00:00 PyPI Importer Affected by VCID-xgv1-s2ek-q3dp https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:17:28.545142+00:00 PyPI Importer Affected by VCID-e87q-1j8h-93hh https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:17:27.358520+00:00 PyPI Importer Affected by VCID-3sac-ah8j-pucd https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T12:50:20.673737+00:00 Pypa Importer Affected by VCID-896g-hqec-ryb9 https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2025-47.yaml 38.0.0
2026-04-01T12:50:17.815605+00:00 Pypa Importer Affected by VCID-9abh-apwm-ebab https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2025-37.yaml 38.0.0
2026-04-01T12:50:16.169910+00:00 Pypa Importer Affected by VCID-p9fd-1qx2-8ubc https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2025-14.yaml 38.0.0
2026-04-01T12:50:14.154753+00:00 Pypa Importer Affected by VCID-xgv1-s2ek-q3dp https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2025-13.yaml 38.0.0
2026-04-01T12:50:11.434931+00:00 Pypa Importer Affected by VCID-e87q-1j8h-93hh https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2025-1.yaml 38.0.0
2026-04-01T12:50:10.808170+00:00 Pypa Importer Affected by VCID-3sac-ah8j-pucd https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2024-157.yaml 38.0.0
2026-04-01T12:50:10.636542+00:00 Pypa Importer Affected by VCID-rmdp-bnjj-zuf2 https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2024-156.yaml 38.0.0