Django 1.8.1/1.8.2/1.8.6/1.9 django.utils.http.is_safe_url cross site scripting

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability, which was classified as critical, has been found in Django 1.8.1/1.8.2/1.8.6/1.9 (Content Management System). Affected by this issue is the function django.utils.http.is_safe_url. The manipulation with an unknown input leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to CWE-79. Impacted is confidentiality, and integrity. An attacker might be able to inject arbitrary html and script code into the web site. This would alter the appearance and would make it possible to initiate further attacks against site visitors.

The weakness was released 03/01/2016 (Website). The advisory is available at This vulnerability is handled as CVE-2016-2512 since 02/19/2016. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1059.007 by the MITRE ATT&CK project.

The vulnerability scanner Nessus provides a plugin with the ID 89079 (Ubuntu 12.04 LTS / 14.04 LTS / 15.10 : python-django vulnerabilities (USN-2915-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context local. The commercial vulnerability scanner Qualys is able to test this issue with plugin 296002 (Solaris 11.3 Support Repository Update (SRU) 9.4.0 Missing).

Upgrading to version 1.8.10 or 1.9.3 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at SecurityFocus (BID 83879), X-Force (111179), Vulnerability Center (SBV-58063) and Tenable (89079). Entries connected to this vulnerability are available at 74783, 78889, 80607 and 80673.




CPE 2.3infoedit

CPE 2.2infoedit


VulDB Meta Base Score: 7.4
VulDB Meta Temp Score: 6.4

VulDB Base Score: 7.4
VulDB Temp Score: 6.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.4
NVD Vector: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Cross site scripting
ATT&CK: T1059.007

Local: No
Remote: Yes

Availability: 🔍
Status: Unproven

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 89079
Nessus Name: Ubuntu 12.04 LTS / 14.04 LTS / 15.10 : python-django vulnerabilities (USN-2915-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 867773
OpenVAS Name: Fedora Update for python-django FEDORA-2016-11183
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfoedit

Threat: 🔍
Adversaries: 🔍
Geopolitics: 🔍
Economy: 🔍
Predictions: 🔍
Remediation: 🔍


Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Django 1.8.10/1.9.3


02/19/2016 🔍
03/01/2016 +11 days 🔍
03/01/2016 +0 days 🔍
03/01/2016 +0 days 🔍
03/01/2016 +0 days 🔍
03/02/2016 +1 days 🔍
03/03/2016 +1 days 🔍
04/08/2016 +35 days 🔍
04/12/2016 +4 days 🔍
08/13/2018 +853 days 🔍
02/04/2019 +175 days 🔍


Status: Confirmed
Confirmation: 🔍

CVE: CVE-2016-2512 (🔍)

SecurityFocus: 83879 - Django CVE-2016-2512 Cross Site Scripting Vulnerability
X-Force: 111179 - Django django.utils.http.is_safe_url() function cross-site scripting
Vulnerability Center: 58063 - Django before 1.8.10 and 1.9 before 1.9.3 Remote XSS via a URL Containing Basic Authentication, Medium

See also: 🔍


Created: 03/03/2016 10:51 AM
Updated: 02/04/2019 11:31 AM
Changes: (12) vulnerability_cvss3_vuldb_av vulnerability_cvss3_vuldb_ac vulnerability_cvss3_vuldb_pr vulnerability_cvss3_vuldb_ui vulnerability_cvss3_vuldb_s vulnerability_cvss3_vuldb_c vulnerability_cvss3_vuldb_i vulnerability_cvss3_vuldb_a advisory_confirm_url countermeasure_date source_securityfocus_date source_securityfocus_class
Complete: 🔍


No comments yet. Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!