Djangoproject Django vulnerabilities

150 known vulnerabilities affecting djangoproject/django.

Total CVEs
150
CISA KEV
0
Public exploits
10
Exploited in wild
1
Severity breakdown
CRITICAL14HIGH52MEDIUM80LOW4

Vulnerabilities

Page 3 of 8
CVE-2023-43665HIGHCVSS 7.5≥ 3.2, < 3.2.22≥ 4.1, < 4.1.12+1 more2023-11-03
CVE-2023-43665 [HIGH] CVE-2023-43665: In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncato In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML text. The chars() and words() methods are used to implement the truncatechars_html a
ghsanvdosv
CVE-2023-46695HIGHCVSS 7.5≥ 3.2, < 3.2.23≥ 4.1, < 4.1.13+1 more2023-11-02
CVE-2023-46695 [HIGH] CWE-770 CVE-2023-46695: An issue was discovered in Django 3.2 before 3.2.23, 4.1 before 4.1.13, and 4.2 before 4.2.7. The NF An issue was discovered in Django 3.2 before 3.2.23, 4.1 before 4.1.13, and 4.2 before 4.2.7. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.forms.UsernameField is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.
ghsanvdosv
CVE-2023-36053HIGHCVSS 7.5≥ 3.2, < 3.2.20≥ 4.0, < 4.1.10+1 more2023-07-03
CVE-2023-36053 [HIGH] CWE-1333 CVE-2023-36053: In Django 3.2 before 3.2.20, 4 before 4.1.10, and 4.2 before 4.2.3, EmailValidator and URLValidator 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.
ghsanvdosv
CVE-2023-31047CRITICALCVSS 9.8≥ 3.2, < 3.2.19≥ 4.0, < 4.1.9+1 more2023-05-07
CVE-2023-31047 [CRITICAL] CWE-20 CVE-2023-31047: 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 valid 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 sug
ghsanvdosv
CVE-2023-24580HIGHCVSS 7.5≥ 3.2, < 3.2.18≥ 4.0, < 4.0.10+1 more2023-02-15
CVE-2023-24580 [HIGH] CWE-400 CVE-2023-24580: An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0 before 4.0. 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.
ghsanvdosv
CVE-2023-23969HIGHCVSS 7.5≥ 3.2, < 3.2.17≥ 4.0, < 4.0.9+1 more2023-02-01
CVE-2023-23969 [HIGH] CWE-770 CVE-2023-23969: 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-Lan 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.
ghsanvdosv
CVE-2022-41323HIGHCVSS 7.5≥ 3.2, < 3.2.16≥ 4.0, < 4.0.8+1 more2022-10-16
CVE-2022-41323 [HIGH] CWE-1333 CVE-2022-41323: In Django 3.2 before 3.2.16, 4.0 before 4.0.8, and 4.1 before 4.1.2, internationalized URLs were sub In Django 3.2 before 3.2.16, 4.0 before 4.0.8, and 4.1 before 4.1.2, internationalized URLs were subject to a potential denial of service attack via the locale parameter, which is treated as a regular expression.
ghsanvdosv
CVE-2022-36359HIGHCVSS 8.8≥ 3.2, < 3.2.15≥ 4.0, < 4.0.72022-08-03
CVE-2022-36359 [HIGH] CWE-494 CVE-2022-36359: An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4. An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4.0.7. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename is derived from user-supplied input.
ghsanvdosv
CVE-2022-34265CRITICALCVSS 9.8PoC≥ 3.2, < 3.2.14≥ 4.0, < 4.0.62022-07-04
CVE-2022-34265 [CRITICAL] CWE-89 CVE-2022-34265: An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() 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.
ghsanvdosv
CVE-2013-1665MEDIUM≥ 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-2013-1664MEDIUM≥ 1.3.0, < 1.3.6≥ 1.4.0, < 1.4.42022-05-17
CVE-2013-1664 [MEDIUM] CWE-611 XML Entity Expansion (XEE) in Django XML Entity Expansion (XEE) in Django The XML libraries for Python, as used in OpenStack Keystone Essex, Folsom, and Grizzly; Compute (Nova) Essex and Folsom; Cinder Folsom; Django; and possibly other products allow remote attackers to cause a denial of service (resource consumption and crash) via an XML Entity Expansion (XEE) attack.
ghsaosv
CVE-2008-3909HIGH≥ 0.91.0, < 0.91.3≥ 0.95.0, < 0.95.4+1 more2022-05-02
CVE-2008-3909 [HIGH] CWE-352 Django cross-site request forgery (CSRF) vulnerability Django cross-site request forgery (CSRF) vulnerability The administration application in Django 0.91.x, 0.95.x, and 0.96.x stores unauthenticated HTTP POST requests and processes them after successful authentication occurs, which allows remote attackers to conduct cross-site request forgery (CSRF) attacks and delete or modify data via unspecified requests.
ghsaosv
CVE-2009-2659HIGH≥ 0.96.0, < 0.96.4≥ 1.0, < 1.0.32022-05-02
CVE-2009-2659 [HIGH] CWE-22 Django Admin Media Handler Vulnerable to Directory Traversal Django Admin Media Handler Vulnerable to Directory Traversal The Admin media handler in `core/servers/basehttp.py` in Django 1.0 and 0.96 does not properly map URL requests to expected "static media files," which allows remote attackers to conduct directory traversal attacks and read arbitrary files via a crafted URL.
ghsaosv
CVE-2007-0404HIGH≥ 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-2007-5712HIGH≥ 0.96.0, < 0.96.1≥ 0.95, < 0.95.2+1 more2022-05-01
CVE-2007-5712 [HIGH] CWE-400 Django vulnerable to Denial of Service via i18n middleware component Django vulnerable to Denial of Service via i18n middleware component The internationalization (i18n) framework in Django 0.91, 0.95, 0.95.1, and 0.96, and as used in other products such as PyLucid, when the USE_I18N option and the i18n component are enabled, allows remote attackers to cause a denial of service (memory consumption) via many HTTP requests with large Accept-Language headers.
ghsaosv
CVE-2008-2302MEDIUM≥ 0.91, < 0.91.2≥ 0.95, < 0.95.3+1 more2022-05-01
CVE-2008-2302 [MEDIUM] CWE-79 Django Cross-site scripting (XSS) vulnerability Django Cross-site scripting (XSS) vulnerability Cross-site scripting (XSS) vulnerability in the login form in the administration application in Django 0.91 before 0.91.2, 0.95 before 0.95.3, and 0.96 before 0.96.2 allows remote attackers to inject arbitrary web script or HTML via the URI of a certain previous request.
ghsaosv
CVE-2007-0405MEDIUM≥ 0.95, < 1.02022-05-01
CVE-2007-0405 [MEDIUM] Django Improper Access Control Django Improper Access Control The LazyUser class in the AuthenticationMiddleware for Django 0.95 does not properly cache the user name across requests, which allows remote authenticated users to gain the privileges of a different user.
ghsaosv
CVE-2022-28347CRITICALCVSS 9.8≥ 2.2, < 2.2.28≥ 3.2, < 3.2.13+1 more2022-04-12
CVE-2022-28347 [CRITICAL] CWE-89 CVE-2022-28347: A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3 A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by passing a crafted dictionary (with dictionary expansion) as the **options argument, and placing the injection payload in an option name.
ghsanvdosv
CVE-2022-28346CRITICALCVSS 9.8≥ 2.2, < 2.2.28≥ 3.2, < 3.2.13+1 more2022-04-12
CVE-2022-28346 [CRITICAL] CWE-89 CVE-2022-28346: An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QueryS An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed **kwargs.
ghsanvdosv
CVE-2022-23833HIGHCVSS 7.5≥ 2.2, < 2.2.27≥ 3.2, < 3.2.12+1 more2022-02-03
CVE-2022-23833 [HIGH] CWE-835 CVE-2022-23833: An issue was discovered in MultiPartParser in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 b An issue was discovered in MultiPartParser in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2. Passing certain inputs to multipart forms could result in an infinite loop when parsing files.
ghsanvdosv