Security mailing lists by PureSourceCode

CVE-2016-2512

HIGH 7.4CVSS 3.0

Django XSS Vulnerability

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.

Published
8 Apr 2016
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-pw27-w7w4-9qc7PYSEC-2016-15
Sources
NVDJSONOSV GHSA-pw27-w7w4-9qc7JSONOSV PYSEC-2016-15JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
OSV GitHub CVSS 3.0 HIGH 7.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.8.9:*:*:*:*:*:*:*
= 1.8.9
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.9:*:*:*:*:*:*:*
= 1.9
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.9.1:*:*:*:*:*:*:*
= 1.9.1
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.9.2:*:*:*:*:*:*:*
= 1.9.2
OSV PyPI django < 1.8.10 1.8.10
OSV PyPI django >= 1.9a1, < 1.9.3 1.9.3
OSV PyPI django < 1.8.10; >= 1.9, < 1.9.3 1.8.10, 1.9.3

References

History

  • 25 Nov 2026 20:19 UTC · NVD: first stored (published 8 Apr 2016)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Apr 2016)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.