CVE-2016-2512: XSS

Published Apr 8, 2016
·
Updated

The utils.http.issafeurl 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.

Other sources

The utils.http.issafeurl 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.

Affected Software

6 affected componentsFixes available
pip/Django>=1.9a1<1.9.3
1.9.3
pip/django<1.8.10
1.8.10
djangoproject Django=1.8.9
djangoproject Django=1.9
djangoproject Django=1.9.1
djangoproject Django=1.9.2

Event History

Apr 8, 2016
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
May 17, 2022
Advisory Published
via GitHub·01:09 AM

Frequently Asked Questions

1

What is the severity of CVE-2016-2512?

CVE-2016-2512 is classified as a high severity vulnerability due to its potential for facilitating phishing attacks and cross-site scripting.

2

How do I fix CVE-2016-2512?

You can fix CVE-2016-2512 by upgrading Django to versions 1.8.10 or 1.9.3 and above.

3

Which versions of Django are affected by CVE-2016-2512?

Django versions 1.8.9 and 1.9.0 to 1.9.2 are affected by CVE-2016-2512.

4

What kind of attacks can CVE-2016-2512 allow?

CVE-2016-2512 can allow remote attackers to redirect users, which can lead to phishing or potentially cross-site scripting attacks.

5

Is CVE-2016-2512 still a concern for users of Django?

Yes, users of affected Django versions should be concerned until they apply the necessary updates to mitigate CVE-2016-2512.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203