django
PyPI147 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting djangopage 2 of 3
- CVE-2015-5963NONECVSS 0.0EG 0.0✓ Fixed in 1.4.222015-08-24
vulnerable: 1.4 ... 1.8.3 (36 versions)
contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions allows remote attackers to cause a denial of service (session store consumption or session re…
- CVE-2015-5964NONECVSS 0.0EG 0.0✓ Fixed in 1.4.222015-08-24
vulnerable: 1.4 ... 1.7.9 (32 versions)
The (1) contrib.sessions.backends.base.SessionBase.flush and (2) cache_db.SessionStore.flush functions in Django 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions create empty sessions in certain circumstances, which al…
- CVE-2015-8213NONECVSS 0.0EG 0.0✓ Fixed in 1.9rc22015-12-07
vulnerable: 1.0.1 ... 1.9rc1 (94 versions)
The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time f…
- CVE-2016-2048MEDIUMCVSS 5.5EG 5.5✓ Fixed in 1.9.22016-02-08
vulnerable: 1.9, 1.9.1
Django 1.9.x before 1.9.2, when ModelAdmin.save_as is set to True, allows remote authenticated users to bypass intended access restrictions and create ModelAdmin objects via the "Save as New" option when editing objects and leveraging the …
- CVE-2016-2512HIGHCVSS 7.4EG 7.4✓ Fixed in 1.9.32016-04-08
vulnerable: 1.0.1 ... 1.9.2 (102 versions)
The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a U…
- CVE-2016-2513LOWCVSS 3.1EG 3.1✓ Fixed in 1.9.32016-04-08
vulnerable: 1.0.1 ... 1.9.2 (102 versions)
The password hasher in contrib/auth/hashers.py in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to enumerate users via a timing attack involving login requests.
- CVE-2016-6186MEDIUMCVSS 6.1EG 6.1✓ Fixed in 1.10rc12016-08-05
vulnerable: 1.0.1 ... 1.10b1 (113 versions)
Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote at…
- CVE-2016-7401HIGHCVSS 7.5EG 7.5✓ Fixed in 1.9.102016-10-03
vulnerable: 1.0.1 ... 1.9.9 (114 versions)
The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies.
- CVE-2016-9013CRITICALCVSS 9.8EG 9.8✓ Fixed in 1.10.32016-12-09
vulnerable: 1.10 ... 1.9.9 (30 versions)
Django 1.8.x before 1.8.16, 1.9.x before 1.9.11, and 1.10.x before 1.10.3 use a hardcoded password for a temporary database user created when running tests with an Oracle database, which makes it easier for remote attackers to obtain acces…
- CVE-2016-9014HIGHCVSS 8.1EG 8.1✓ Fixed in 1.10.32016-12-09
vulnerable: 1.0.1 ... 1.9.9 (119 versions)
Django before 1.8.x before 1.8.16, 1.9.x before 1.9.11, and 1.10.x before 1.10.3, when settings.DEBUG is True, allow remote attackers to conduct DNS rebinding attacks by leveraging failure to validate the HTTP Host header against settings.…
- CVE-2017-12794MEDIUMCVSS 6.1EG 6.1✓ Fixed in 1.11.52017-09-07
vulnerable: 1.10 ... 1.11.4 (13 versions)
In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerab…
- CVE-2017-7233MEDIUMCVSS 6.1EG 6.1✓ Fixed in 1.8.182017-04-04
vulnerable: 1.10 ... 1.9.9 (38 versions)
Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) conside…
- CVE-2017-7234MEDIUMCVSS 6.1EG 6.1✓ Fixed in 1.8.182017-04-04
vulnerable: 1.10 ... 1.9.9 (38 versions)
A maliciously crafted URL to a Django (1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18) site using the ``django.views.static.serve()`` view could redirect to any other domain, aka an open redirect vulnerability.
- CVE-2018-14574MEDIUMCVSS 6.1EG 6.1✓ Fixed in 1.11.152018-08-03
vulnerable: 1.11 ... 2.0.7 (23 versions)
django.middleware.common.CommonMiddleware in Django 1.11.x before 1.11.15 and 2.0.x before 2.0.8 has an Open Redirect.
- CVE-2018-16984MEDIUMCVSS 4.9EG 4.9✓ Fixed in 2.1.22018-10-02
vulnerable: 2.1, 2.1.1
An issue was discovered in Django 2.1 before 2.1.2, in which unprivileged users can read the password hashes of arbitrary accounts. The read-only password widget used by the Django Admin to display an obfuscated password hash was bypassed …
- CVE-2018-6188HIGHCVSS 7.5EG 7.5✓ Fixed in 2.0.22018-02-05
vulnerable: 2.0, 2.0.1
django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as dem…
- CVE-2018-7536MEDIUMCVSS 5.3EG 5.3✓ Fixed in 2.0.32018-03-09
vulnerable: 1.11 ... 2.0.2 (33 versions)
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 r…
- CVE-2018-7537MEDIUMCVSS 5.3EG 5.3✓ Fixed in 2.0.32018-03-09
vulnerable: 1.11 ... 2.0.2 (33 versions)
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 i…
- CVE-2019-11358MEDIUMCVSS 6.1EG 6.1✓ Fixed in 2.2.22019-04-20
vulnerable: 2.2, 2.2.1, 2.2a1, 2.2b1, 2.2rc1
jQuery before 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles jQuery.extend(true, {}, ...) because of Object.prototype pollution. If an unsanitized source object contained an enumerable __proto__ property, it could e…
- CVE-2019-12308MEDIUMCVSS 6.1EG 6.1✓ Fixed in 2.2.22019-06-03
vulnerable: 1.11 ... 2.2.1 (30 versions)
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 u…
- CVE-2019-12781MEDIUMCVSS 5.3EG 5.3✓ Fixed in 1.11.222019-07-01
vulnerable: 1.11 ... 2.2.2 (33 versions)
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 t…
- CVE-2019-14232HIGHCVSS 7.5EG 7.5✓ Fixed in 2.2.42019-08-02
vulnerable: 1.11 ... 2.2.3 (36 versions)
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate cer…
- CVE-2019-14233HIGHCVSS 7.5EG 7.5✓ Fixed in 1.11.232019-08-02
vulnerable: 1.11 ... 2.2.3 (36 versions)
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to the behaviour of the underlying HTMLParser, django.utils.html.strip_tags would be extremely slow to evaluate certain inputs contai…
- CVE-2019-14234CRITICALCVSS 9.8EG 9.8✓ Fixed in 2.2.42019-08-09
vulnerable: 1.11 ... 2.2.3 (36 versions)
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to an error in shallow key transformation, key and index lookups for django.contrib.postgres.fields.JSONField, and key lookups for dj…
- CVE-2019-14235HIGHCVSS 7.5EG 7.5✓ Fixed in 2.1.112019-08-02
vulnerable: 1.11 ... 2.2.3 (36 versions)
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. If passed certain inputs, django.utils.encoding.uri_to_iri could lead to significant memory usage due to a recursion when repercent-encod…
- CVE-2019-19118MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.2.82019-12-02
vulnerable: 2.1 ... 2.2.7 (22 versions)
Django 2.1 before 2.1.15 and 2.2 before 2.2.8 allows unintended model editing. A Django model admin displaying inline related models, where the user has view-only permissions to a parent model but edit permissions to the inline model, woul…
- CVE-2019-19844CRITICALCVSS 9.8EG 9.8✓ Fixed in 2.2.92019-12-18
vulnerable: 1.0.1 ... 2.2.8 (177 versions)
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 atta…
- CVE-2019-3498MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.1.52019-01-09
vulnerable: 1.11 ... 2.1.4 (33 versions)
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 conten…
- CVE-2019-6975HIGHCVSS 7.5EG 7.5✓ Fixed in 2.1.72019-02-11
vulnerable: 1.11 ... 2.1.5 (36 versions)
Django 1.11.x before 1.11.19, 2.0.x before 2.0.11, and 2.1.x before 2.1.6 allows Uncontrolled Memory Consumption via a malicious attacker-supplied value to the django.utils.numberformat.format() function.
- CVE-2020-13254MEDIUMCVSS 5.9EG 5.9✓ Fixed in 3.0.72020-06-03
vulnerable: 2.2 ... 3.0.6 (20 versions)
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.
- CVE-2020-13596MEDIUMCVSS 6.1EG 6.1✓ Fixed in 3.0.72020-06-03
vulnerable: 2.2 ... 3.0.6 (20 versions)
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.
- CVE-2020-24583HIGHCVSS 7.5EG 7.5✓ Fixed in 3.1.12020-09-01
vulnerable: 2.2 ... 3.1 (27 versions)
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 upl…
- CVE-2020-24584HIGHCVSS 7.5EG 7.5✓ Fixed in 3.1.12020-09-01
vulnerable: 2.2 ... 3.1 (27 versions)
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.
- CVE-2020-7471CRITICALCVSS 9.8EG 9.8✓ Fixed in 3.0.32020-02-03
vulnerable: 1.11 ... 3.0.2 (40 versions)
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-specifie…
- CVE-2020-9402HIGHCVSS 8.8EG 9.0✓ Fixed in 3.0.42020-03-05
vulnerable: 1.11 ... 3.0.3 (43 versions)
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…
- CVE-2021-28658MEDIUMCVSS 5.3EG 5.3✓ Fixed in 3.1.82021-04-06
vulnerable: 2.2 ... 3.1.7 (42 versions)
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.
- CVE-2021-31542HIGHCVSS 7.5EG 7.5✓ Fixed in 3.2.12021-05-05
vulnerable: 2.2 ... 3.2 (31 versions)
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.
- CVE-2021-32052MEDIUMCVSS 6.1EG 6.1✓ Fixed in 3.2.22021-05-06
vulnerable: 2.2 ... 3.2.1 (34 versions)
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 re…
- CVE-2021-3281MEDIUMCVSS 5.3EG 5.3✓ Fixed in 3.1.62021-02-02
vulnerable: 2.2 ... 3.1.5 (36 versions)
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 re…
- CVE-2021-33203MEDIUMCVSS 4.9EG 4.9✓ Fixed in 3.2.42021-06-08
vulnerable: 1.0.1 ... 3.2.3 (266 versions)
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, …
- CVE-2021-33571HIGHCVSS 7.5EG 7.5✓ Fixed in 3.2.42021-06-08
vulnerable: 2.2 ... 3.2.3 (58 versions)
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…
- CVE-2021-35042CRITICALCVSS 9.8EG 9.8✓ Fixed in 3.2.52021-07-02
vulnerable: 3.1 ... 3.2.4 (18 versions)
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.
- CVE-2021-44420HIGHCVSS 7.3EG 7.3✓ Fixed in 3.2.102021-12-08
vulnerable: 2.2 ... 3.2.9 (49 versions)
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.
- CVE-2021-45115HIGHCVSS 7.5EG 7.5✓ Fixed in 4.0.12022-01-05
vulnerable: 2.2 ... 4.0 (38 versions)
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 …
- CVE-2021-45116HIGHCVSS 7.5EG 7.5✓ Fixed in 4.0.12022-01-05
vulnerable: 2.2 ... 4.0 (38 versions)
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 informatio…
- CVE-2021-45452MEDIUMCVSS 5.3EG 5.3✓ Fixed in 4.0.12022-01-05
vulnerable: 2.2 ... 4.0 (38 versions)
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.
- CVE-2022-22818MEDIUMCVSS 6.1EG 6.1✓ Fixed in 4.0.22022-02-03
vulnerable: 2.2 ... 4.0.1 (41 versions)
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.
- CVE-2022-23833HIGHCVSS 7.5EG 7.5✓ Fixed in 4.0.22022-02-03
vulnerable: 2.2 ... 4.0.1 (41 versions)
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.
- CVE-2022-28346CRITICALCVSS 9.8EG 9.8✓ Fixed in 2.2.282022-04-12
vulnerable: 2.2 ... 4.0.3 (45 versions)
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 ex…
- CVE-2022-28347CRITICALCVSS 9.8EG 9.8✓ Fixed in 2.2.282022-04-12
vulnerable: 2.2 ... 4.0.3 (45 versions)
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…
Check whether django is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for django CVEs against the assets you own.
Start Free Scan →