{"cve":"CVE-2019-12781","nvd":{"published":"2019-07-01T14:15:10.847","modified":"2026-06-17T02:15:27.230","status":"Modified","description":"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 HTTP.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-319"],"references":["http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html","http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html","http://www.openwall.com/lists/oss-security/2019/07/01/3","http://www.securityfocus.com/bid/109018","https://docs.djangoproject.com/en/dev/releases/security/"],"products":["canonical:ubuntu_linux","debian:debian_linux","djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T20:57:00.690689396+00:00"},"epss":{"cve":"CVE-2019-12781","score":0.01711,"percentile":0.77368,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6c7v-2f49-8h26","url":"https://osv.dev/vulnerability/GHSA-6c7v-2f49-8h26","summary":"Django Incorrect HTTP detection with reverse-proxy connecting via HTTPS","modified":"2024-09-18T16:26:02.265514Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.1 <2.1.10"],"fixed":["2.1.10"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.2 <2.2.3"],"fixed":["2.2.3"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.11 <1.11.22"],"fixed":["1.11.22"]}]},{"id":"PYSEC-2019-10","url":"https://osv.dev/vulnerability/PYSEC-2019-10","summary":"","modified":"2023-11-08T04:01:06.373410Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.1 <2.1.10",">=2.2 <2.2.3",">=1.11 <1.11.22"],"fixed":["2.1.10","2.2.3","1.11.22"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}