cbcvebase.

Djangoproject Django vulnerabilities

165 known vulnerabilities affecting djangoproject/django.

Total CVEs
165
CISA KEV
0
Public exploits
10
Exploited in wild
2
Severity breakdown
CRITICAL14HIGH52MEDIUM93LOW6

Vulnerabilities

Page 5 of 9
CVE-2024-41991P3HIGHCVSS 7.5≥ 4.2, < 4.2.15≥ 5.0, < 5.0.82024-08-07
CVE-2024-41991 [HIGH] CWE-1284 CVE-2024-41991: An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize and urlizetrunc An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget, are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicode characters.
ghsanvdosv
CVE-2007-0404P3HIGH≥ 0.95, < 1.02022-05-01
CVE-2007-0404 [HIGH] Django Arbitrary Code Execution Django Arbitrary Code Execution `bin/compile-messages.py` in Django 0.95 does not quote argument strings before invoking the msgfmt program through the os.system function, which allows attackers to execute arbitrary commands via shell metacharacters in a (1) .po or (2) .mo file.
ghsaosv
CVE-2021-28658P4MEDIUMCVSS 5.3≥ 2.2, < 2.2.20≥ 3.0, < 3.0.14+1 more2021-04-06
CVE-2021-28658 [MEDIUM] CWE-22 CVE-2021-28658: In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed direct In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.
ghsanvdosv
CVE-2026-53878P4MEDIUMCVSS 6.1≥ 5.2, < 5.2.16≥ 6.0, < 6.0.72026-07-07
CVE-2026-53878 [MEDIUM] CWE-144 CVE-2026-53878: An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. `DomainNameValidator` does An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. `DomainNameValidator` does not prohibit newlines in domain names (unless used via a form field, since `CharField` strips newlines). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because `HttpResponse` p
ghsanvd
CVE-2026-8404P4MEDIUMCVSS 5.3≥ 5.2, < 5.2.15≥ 6.0, < 6.0.62026-06-03
CVE-2026-8404 [MEDIUM] CWE-178 CVE-2026-8404: An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. `django.middleware.cache.U An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. `django.middleware.cache.UpdateCacheMiddleware` in Django does not match `Cache-Control` response directives case-insensitively, which allows remote attackers to read responses that were incorrectly cached because their `Cache-Control` directives used uppercase or mixed-case val
ghsanvd
CVE-2021-33203P4MEDIUMCVSS 4.9fixed in 2.2.24≥ 3.0.0, < 3.1.12+1 more2021-06-08
CVE-2021-33203 [MEDIUM] CWE-22 CVE-2021-33203: Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal 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
ghsanvdosv
CVE-2026-48588P4MEDIUMCVSS 5.3≥ 5.2, < 5.2.16≥ 6.0, < 6.0.72026-07-07
CVE-2026-48588 [MEDIUM] CWE-524 CVE-2026-48588: An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. `UpdateCacheMiddleware` an An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. `UpdateCacheMiddleware` and the `cache_page()` decorator cache responses that vary on cookies when the incoming request carries unrelated cookies, which allows remote attackers to read private data from the shared cache. Earlier, unsupported Django series (such as 5.0.x, 4.1.x
ghsanvd
CVE-2019-3498P4MEDIUMCVSS 6.5≥ 1.11, < 1.11.18≥ 2.0, < 2.0.10+1 more2019-01-09
CVE-2019-3498 [MEDIUM] CWE-74 CVE-2019-3498: In Django 1.11.x before 1.11.18, 2.0.x before 2.0.10, and 2.1.x before 2.1.5, an Improper Neutraliza In Django 1.11.x before 1.11.18, 2.0.x before 2.0.10, and 2.1.x before 2.1.5, an Improper Neutralization of Special Elements in Output Used by a Downstream Component issue exists in django.views.defaults.page_not_found(), leading to content spoofing (in a 404 error page) if a user fails to recognize that a crafted URL has malicious content.
ghsanvdosv
CVE-2015-0219P4MEDIUMCVSS 5.0≤ 1.4.17v1.6+12 more2015-01-16
CVE-2015-0219 [MEDIUM] CWE-17 CVE-2015-0219: Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 allows remote attackers to spoof W Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 allows remote attackers to spoof WSGI headers by using an _ (underscore) character instead of a - (dash) character in an HTTP header, as demonstrated by an X-Auth_User header.
ghsanvdosv
CVE-2014-1418P4MEDIUMCVSS 6.4v1.7v1.4+24 more2014-05-16
CVE-2014-1418 [MEDIUM] CVE-2014-1418: Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly include the (1) Vary: Cookie or (2) Cache-Control header in responses, which allows remote attackers to obtain sensitive information or poison the cache via a request from certain browsers.
ghsanvdosv
CVE-2018-7536P4MEDIUMCVSS 5.3≥ 1.8, < 1.8.19≥ 1.11, < 1.11.11+1 more2018-03-09
CVE-2018-7536 [MEDIUM] CWE-185 CVE-2018-7536: An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. The An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. The django.utils.html.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions (only one regular expression for Django 1.8.x). The urlize() function is used to implement the u
ghsanvdosv
CVE-2019-12308P4MEDIUMCVSS 6.1≥ 1.11, < 1.11.21≥ 2.1, < 2.1.9+1 more2019-06-03
CVE-2019-12308 [MEDIUM] CWE-79 CVE-2019-12308: An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The c An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an
ghsanvdosv
CVE-2018-7537P4MEDIUMCVSS 5.3≥ 1.8, < 1.8.19≥ 1.11, < 1.11.11+1 more2018-03-09
CVE-2018-7537 [MEDIUM] CWE-185 CVE-2018-7537: An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If d An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods ar
ghsanvdosv
CVE-2013-1665P4MEDIUM≥ 1.3.0, < 1.3.6≥ 1.4.0, < 1.4.42022-05-17
CVE-2013-1665 [MEDIUM] CWE-200 XML External Entity (XXE) in Django XML External Entity (XXE) in Django The XML libraries for Python as used in OpenStack Keystone Essex and Folsom, Django, and possibly other products allow remote attackers to read arbitrary files via an XML external entity declaration in conjunction with an entity reference, aka an XML External Entity (XXE) attack.
ghsaosv
CVE-2021-45452P4MEDIUMCVSS 5.3≥ 2.2, < 2.2.26≥ 3.2, < 3.2.11+1 more2022-01-05
CVE-2021-45452 [MEDIUM] CWE-22 CVE-2021-45452: Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory t Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory traversal if crafted filenames are directly passed to it.
ghsanvdosv
CVE-2026-15830P4MEDIUMCVSS 5.3fixed in 5.2.17≥ 6.0, < 6.0.8+1 more2026-08-04
CVE-2026-15830 [MEDIUM] CWE-674 CVE-2026-15830: An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. GeoDjango's `django.contri An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. GeoDjango's `django.contrib.gis.geos.GEOSGeometry` is subject to a potential denial-of-service when parsing deeply nested `GEOMETRYCOLLECTION` objects supplied as well-known text (WKT), well-known binary (WKB), or hex-encoded WKB, which triggers unbounded recursion and a segme
nvd
CVE-2026-15337P4MEDIUMCVSS 5.3fixed in 5.2.17≥ 6.0, < 6.0.8+1 more2026-08-04
CVE-2026-15337 [MEDIUM] CWE-789 CVE-2026-15337: An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. `django.utils.translation. An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. `django.utils.translation.check_for_language()` is subject to a potential denial-of-service attack when given many distinct, very long language codes, which are retained as keys in an in-memory cache and consume process memory. Such codes reach the function through the `django
nvd
CVE-2026-48587P4MEDIUMCVSS 5.3≥ 5.2, < 5.2.15≥ 6.0, < 6.0.62026-06-03
CVE-2026-48587 [MEDIUM] CWE-1023 CVE-2026-48587: An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. `django.utils.cache.has_va An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. `django.utils.cache.has_vary_header()` in Django does not strip leading or trailing whitespace from `Vary` response header values before comparison, which allows remote attackers to read cached responses via requests to URLs whose responses contain whitespace-padded Vary head
ghsanvd
CVE-2013-4315P4MEDIUMCVSS 5.0v1.4v1.4.1+7 more2013-09-16
CVE-2013-4315 [MEDIUM] CWE-22 CVE-2013-4315: Directory traversal vulnerability in Django 1.4.x before 1.4.7, 1.5.x before 1.5.3, and 1.6.x before Directory traversal vulnerability in Django 1.4.x before 1.4.7, 1.5.x before 1.5.3, and 1.6.x before 1.6 beta 3 allows remote attackers to read arbitrary files via a file path in the ALLOWED_INCLUDE_ROOTS setting followed by a .. (dot dot) in a ssi template tag.
ghsanvdosv
CVE-2019-12781P4MEDIUMCVSS 5.3≥ 1.11, < 1.11.22≥ 2.1, < 2.1.10+1 more2019-07-01
CVE-2019-12781 [MEDIUM] CWE-319 CVE-2019-12781: An issue was discovered in Django 1.11 before 1.11.22, 2.1 before 2.1.10, and 2.2 before 2.2.3. An H An issue was discovered in Django 1.11 before 1.11.22, 2.1 before 2.1.10, and 2.2 before 2.2.3. An HTTP request is not redirected to HTTPS when the SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings are used, and the proxy connects to Django via HTTPS. In other words, django.http.HttpRequest.scheme has incorrect behavior when a client uses HTT
ghsanvdosv
Djangoproject Django vulnerabilities | cvebase