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 HTTP request is not redirected to HTTPS…
- 5.3MediumCVSS base score
- 1.7%Exploitation in 30 daysEPSS · top 22% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mitre
- 21 days later
· 21 days later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.7% · top 22% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-6c7v-2f49-8h26 (opens in a new tab)
References
References12
- https://docs.djangoproject.com/en/dev/releases/security/ (opens in a new tab)x_refsource_MISCx_transferred
- https://groups.google.com/forum/#%21topic/django-announce/Is4kLY9ZcZQ (opens in a new tab)x_refsource_MISCx_transferred
- https://www.djangoproject.com/weblog/2019/jul/01/security-releases/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20190701 Django: CVE-2019-12781: Incorrect HTTP detection with reverse-proxy connecting via HTTPS (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-4043-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 109018 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://security.netapp.com/advisory/ntap-20190705-0002/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-4476 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20190708 [SECURITY] [DSA 4476-1] python-django security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- FEDORA-2019-d9aa58d863 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- openSUSE-SU-2019:1839 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2019:1872 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2019-0034 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6c7v-2f49-8h26 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2019-12781)Record last updated .