CVE-2016-2512

high
Published 2016-04-08 · Modified 2023-11-08
CVSS v3
7.4
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
CVSS v2
4.3
VIR risk
7.4

Description

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 URL containing basic authentication, as demonstrated by http://mysite.example.com\@attacker.com.

Predictions

Exploit likelihood
82%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2016-2512

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://www.djangoproject.com/weblog/2016/mar/01/security-releases/

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed1.9.4-1
debian debianbullseyefixed1.9.4-1
debian debianforkyfixed1.9.4-1
debian debiansidfixed1.9.4-1
debian debiantrixiefixed1.9.4-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango<1.8.101.8.10
python PyPIdjango>=1.9a1,<1.9.31.9.3
python PyPIdjango<c5544d289233f501917e25970c03ed444abbd4f0||>=1.9,<1.9.3c5544d289233f501917e25970c03ed444abbd4f0

Application impact

VendorProductVersionsFixed
djangoprojectdjango1.8.9
djangoprojectdjango1.9
djangoprojectdjango1.9.1
djangoprojectdjango1.9.2

References

CWEs

CWE-79

Verify integrity in audit chain (admin only). AS-IS.