Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/django@4.2.27
purl pkg:pypi/django@4.2.27
Next non-vulnerable version 4.2.29
Latest non-vulnerable version 6.0.4
Risk 4.0
Vulnerabilities affecting this package (8)
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.
4.2.28
Affected by 2 other vulnerabilities.
5.0a1
Affected by 4 other vulnerabilities.
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.
4.2.28
Affected by 2 other vulnerabilities.
5.0a1
Affected by 4 other vulnerabilities.
5.2.11
Affected by 2 other vulnerabilities.
6.0.2
Affected by 2 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.
4.2.28
Affected by 2 other vulnerabilities.
5.0a1
Affected by 4 other vulnerabilities.
5.2.11
Affected by 2 other vulnerabilities.
6.0.2
Affected by 2 other vulnerabilities.
VCID-ac4c-321h-tqfk
Aliases:
CVE-2026-25674
GHSA-mjgh-79qc-68w3
Django has a Race Condition vulnerability An issue was discovered in 6.0 before 6.0.3, 5.2 before 5.2.12, and 4.2 before 4.2.29. Race condition in file-system storage and file-based cache backends in Django allows an attacker to cause file system objects to be created with incorrect permissions via concurrent requests, where one thread's temporary `umask` change affects other threads in multi-threaded environments. 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.
4.2.29
Affected by 0 other vulnerabilities.
5.0a1
Affected by 4 other vulnerabilities.
5.2.12
Affected by 0 other vulnerabilities.
6.0a1
Affected by 6 other vulnerabilities.
6.0.3
Affected by 0 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.
4.2.28
Affected by 2 other vulnerabilities.
5.0a1
Affected by 4 other vulnerabilities.
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.
4.2.28
Affected by 2 other vulnerabilities.
5.0a1
Affected by 4 other vulnerabilities.
5.2.11
Affected by 2 other vulnerabilities.
6.0.2
Affected by 2 other vulnerabilities.
VCID-nda7-9219-6kce
Aliases:
CVE-2026-25673
GHSA-8p8v-wh79-9r56
Django vulnerable to Uncontrolled Resource Consumption An issue was discovered in 6.0 before 6.0.3, 5.2 before 5.2.12, and 4.2 before 4.2.29. `URLField.to_python()` in Django calls `urllib.parse.urlsplit()`, which performs NFKC normalization on Windows that is disproportionately slow for certain Unicode characters, allowing a remote attacker to cause denial of service via large URL inputs containing these 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.29
Affected by 0 other vulnerabilities.
5.0a1
Affected by 4 other vulnerabilities.
5.2.12
Affected by 0 other vulnerabilities.
6.0a1
Affected by 6 other vulnerabilities.
6.0.3
Affected by 0 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.
4.2.28
Affected by 2 other vulnerabilities.
5.0a1
Affected by 4 other vulnerabilities.
5.2.11
Affected by 2 other vulnerabilities.
6.0.2
Affected by 2 other vulnerabilities.
Vulnerabilities fixed by this package (2)
Vulnerability Summary Aliases
VCID-ukkt-wgau-t3et 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. CVE-2025-64460
GHSA-vrcr-9hj9-jcg6
VCID-vwt9-q3dt-vbfg 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. CVE-2025-13372
GHSA-rqw2-ghq9-44m7

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-12T01:54:36.891062+00:00 GitLab Importer Affected by VCID-nda7-9219-6kce https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-25673.yml 38.3.0
2026-04-12T01:54:35.408262+00:00 GitLab Importer Affected by VCID-ac4c-321h-tqfk https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-25674.yml 38.3.0
2026-04-12T01:39:25.547631+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.634966+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.810843+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.455521+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.170274+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.532198+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-05T04:22:08.021020+00:00 GitLab Importer Affected by VCID-nda7-9219-6kce https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-25673.yml 38.1.0
2026-04-05T04:22:06.665667+00:00 GitLab Importer Affected by VCID-ac4c-321h-tqfk https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2026-25674.yml 38.1.0
2026-04-03T01:48:20.431905+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.545191+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.780007+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.602835+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.234216+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.142955+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-01T16:07:14.681360+00:00 GHSA Importer Fixing VCID-ukkt-wgau-t3et https://github.com/advisories/GHSA-vrcr-9hj9-jcg6 38.0.0
2026-04-01T16:07:14.555664+00:00 GHSA Importer Fixing VCID-vwt9-q3dt-vbfg https://github.com/advisories/GHSA-rqw2-ghq9-44m7 38.0.0
2026-04-01T12:55:40.444844+00:00 GithubOSV Importer Fixing VCID-vwt9-q3dt-vbfg https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-rqw2-ghq9-44m7/GHSA-rqw2-ghq9-44m7.json 38.0.0
2026-04-01T12:55:32.227993+00:00 GithubOSV Importer Fixing VCID-ukkt-wgau-t3et https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-vrcr-9hj9-jcg6/GHSA-vrcr-9hj9-jcg6.json 38.0.0
2026-04-01T12:53:26.940583+00:00 GitLab Importer Fixing 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.618960+00:00 GitLab Importer Fixing VCID-vwt9-q3dt-vbfg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Django/CVE-2025-13372.yml 38.0.0