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 4 of 8
CVE-2022-22818MEDIUMCVSS 6.1≥ 2.2, < 2.2.27≥ 3.2, < 3.2.12+1 more2022-02-03
CVE-2022-22818 [MEDIUM] CWE-79 CVE-2022-22818: The {% debug %} template tag in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2 do
The {% debug %} template tag in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2 does not properly encode the current context. This may lead to XSS.
ghsanvdosv
CVE-2021-45116HIGHCVSS 7.5≥ 2.2, < 2.2.26≥ 3.2, < 3.2.11+1 more2022-01-05
CVE-2021-45116 [HIGH] CWE-20 CVE-2021-45116: An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. Due to
An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. Due to leveraging the Django Template Language's variable resolution logic, the dictsort template filter was potentially vulnerable to information disclosure, or an unintended method call, if passed a suitably crafted key.
ghsanvdosv
CVE-2021-45115HIGHCVSS 7.5≥ 2.2, < 2.2.26≥ 3.2, < 3.2.11+1 more2022-01-05
CVE-2021-45115 [HIGH] CVE-2021-45115: An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. UserAt
An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. UserAttributeSimilarityValidator incurred significant overhead in evaluating a submitted password that was artificially large in relation to the comparison values. In a situation where access to user registration was unrestricted, this provided a potential vector for
ghsanvdosv
CVE-2021-45452MEDIUMCVSS 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-2021-44420HIGHCVSS 7.3≥ 2.2, < 2.2.25≥ 3.1, < 3.1.14+1 more2021-12-08
CVE-2021-44420 [HIGH] CVE-2021-44420: In Django 2.2 before 2.2.25, 3.1 before 3.1.14, and 3.2 before 3.2.10, HTTP requests for URLs with t
In Django 2.2 before 2.2.25, 3.1 before 3.1.14, and 3.2 before 3.2.10, HTTP requests for URLs with trailing newlines could bypass upstream access control based on URL paths.
ghsanvdosv
CVE-2021-35042CRITICALCVSS 9.8PoC≥ 3.1, < 3.1.13≥ 3.2, < 3.2.52021-07-02
CVE-2021-35042 [CRITICAL] CWE-89 CVE-2021-35042: Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by
Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a web application.
ghsanvdosv
CVE-2021-33571HIGHCVSS 7.5≥ 2.2, < 2.2.24≥ 3.0, < 3.1.12+1 more2021-06-08
CVE-2021-33571 [HIGH] CWE-918 CVE-2021-33571: In Django 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4, URLValidator, validate_ipv4_ad
In Django 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4, URLValidator, validate_ipv4_address, and validate_ipv46_address do not prohibit leading zero characters in octal literals. This may allow a bypass of access control that is based on IP addresses. (validate_ipv4_address and validate_ipv46_address are unaffected with Python 3.9.5+..)
ghsanvdosv
CVE-2021-33203MEDIUMCVSS 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-2021-32052MEDIUMCVSS 6.1≥ 2.2, < 2.2.22≥ 3.1, < 3.1.10+1 more2021-05-06
CVE-2021-32052 [MEDIUM] CWE-79 CVE-2021-32052: In Django 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+), URLValida
In Django 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+), URLValidator does not prohibit newlines and tabs (unless the URLField form field is used). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because HttpResponse prohibits newlines in HTTP h
ghsanvdosv
CVE-2021-31542HIGHCVSS 7.5≥ 2.2, < 2.2.21≥ 3.1, < 3.1.9+1 more2021-05-05
CVE-2021-31542 [HIGH] CWE-22 CVE-2021-31542: In Django 2.2 before 2.2.21, 3.1 before 3.1.9, and 3.2 before 3.2.1, MultiPartParser, UploadedFile,
In Django 2.2 before 2.2.21, 3.1 before 3.1.9, and 3.2 before 3.2.1, MultiPartParser, UploadedFile, and FieldFile allowed directory traversal via uploaded files with suitably crafted file names.
ghsanvdosv
CVE-2021-28658MEDIUMCVSS 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-2021-23336MEDIUMCVSS 5.9≥ 2.2, < 2.2.19≥ 3.0, < 3.0.13+1 more2021-02-15
CVE-2021-23336 [MEDIUM] CWE-444 CVE-2021-23336: The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and be
The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a vector called parameter cloaking. When the attacker can separate query parameters using a semicolon (;), they
nvd
CVE-2021-3281MEDIUMCVSS 5.3≥ 2.2, < 2.2.18≥ 3.0, < 3.0.12+1 more2021-02-02
CVE-2021-3281 [MEDIUM] CWE-22 CVE-2021-3281: In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extra
In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with absolute paths or relative paths with dot segments.
ghsanvdosv
CVE-2020-24584HIGHCVSS 7.5≥ 2.2, < 2.2.16≥ 3.0, < 3.0.10+1 more2020-09-01
CVE-2020-24584 [HIGH] CWE-276 CVE-2020-24584: An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 (when P
An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 (when Python 3.7+ is used). The intermediate-level directories of the filesystem cache had the system's standard umask rather than 0o077.
ghsanvdosv
CVE-2020-24583HIGHCVSS 7.5≥ 2.2, < 2.2.16≥ 3.0, < 3.0.10+1 more2020-09-01
CVE-2020-24583 [HIGH] CWE-276 CVE-2020-24583: An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 (when P
An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 (when Python 3.7+ is used). FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not applied to intermediate-level directories created in the process of uploading files. It was also not applied to intermediate-level collected static directories when using the collectsta
ghsanvdosv
CVE-2020-13596MEDIUMCVSS 6.1≥ 2.2, < 2.2.13≥ 3.0, < 3.0.72020-06-03
CVE-2020-13596 [MEDIUM] CWE-79 CVE-2020-13596: An issue was discovered in Django 2.2 before 2.2.13 and 3.0 before 3.0.7. Query parameters generated
An issue was discovered in Django 2.2 before 2.2.13 and 3.0 before 3.0.7. Query parameters generated by the Django admin ForeignKeyRawIdWidget were not properly URL encoded, leading to a possibility of an XSS attack.
ghsanvdosv
CVE-2020-13254MEDIUMCVSS 5.9≥ 2.2, < 2.2.13≥ 3.0, < 3.0.72020-06-03
CVE-2020-13254 [MEDIUM] CWE-295 CVE-2020-13254: An issue was discovered in Django 2.2 before 2.2.13 and 3.0 before 3.0.7. In cases where a memcached
An issue was discovered in Django 2.2 before 2.2.13 and 3.0 before 3.0.7. In cases where a memcached backend does not perform key validation, passing malformed cache keys could result in a key collision, and potential data leakage.
ghsanvdosv
CVE-2020-9402HIGHCVSS 8.8PoC≥ 1.11, < 1.11.29≥ 2.2, < 2.2.11+1 more2020-03-05
CVE-2020-9402 [HIGH] CWE-89 CVE-2020-9402: Django 1.11 before 1.11.29, 2.2 before 2.2.11, and 3.0 before 3.0.4 allows SQL Injection if untruste
Django 1.11 before 1.11.29, 2.2 before 2.2.11, and 3.0 before 3.0.4 allows SQL Injection if untrusted data is used as a tolerance parameter in GIS functions and aggregates on Oracle. By passing a suitably crafted tolerance to GIS functions and aggregates on Oracle, it was possible to break escaping and inject malicious SQL.
ghsanvdosv
CVE-2020-7471CRITICALCVSS 9.8≥ 1.11, < 1.11.28≥ 2.2, < 2.2.10+1 more2020-02-03
CVE-2020-7471 [CRITICAL] CWE-89 CVE-2020-7471: Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untruste
Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter (e.g., in Django applications that offer downloads of data as a series of rows with a user-specified column delimiter). By passing a suitably crafted delimiter to a contrib.postgres.aggregates.StringAgg instance,
ghsanvdosv
CVE-2019-19844CRITICALCVSS 9.8PoCfixed in 1.11.27≥ 2.2, < 2.2.9+1 more2019-12-18
CVE-2019-19844 [CRITICAL] CWE-640 CVE-2019-19844: Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. A suitably cr
Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. A suitably crafted email address (that is equal to an existing user's email address after case transformation of Unicode characters) would allow an attacker to be sent a password reset token for the matched user account. (One mitigation in the new releases is to
ghsanvdosv