cve.bz

CVE-2019-12781

5.3 mediumEPSS 1.7%

Medium (5.3). EPSS 1.7% chance of exploitation in the next 30 days. Fixed in django 1.11.22, 2.1.10, 2.2.3.

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.

Severity

CVSS 3.0

5.3 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
1.7% chance of exploitation in the next 30 days; higher than 77% of CVEs (scores of 2026-10-31)
CWE
CWE-319
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6c7v-2f49-8h26PyPIdjango>=2.1 <2.1.102.1.10
GHSA-6c7v-2f49-8h26PyPIdjango>=2.2 <2.2.32.2.3
GHSA-6c7v-2f49-8h26PyPIdjango>=1.11 <1.11.221.11.22
PYSEC-2019-10PyPIdjango>=2.1 <2.1.10
>=2.2 <2.2.3
>=1.11 <1.11.22
2.1.10, 2.2.3, 1.11.22

References

Check your stackJSON