Django up to 1.6.8 Javascript utilshttpis_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 was found in Django up to 1.6.8 (Content Management System). It has been classified as problematic. This affects the function utilshttpis_safe_url of the component Javascript. The manipulation with an unknown input leads to a cross site scripting vulnerability. CWE is classifying the issue as CWE-79. The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. This is going to have an impact on integrity. The summary by CVE is:

The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \x08javascript: URL.

The weakness was released 03/25/2015 (Website). The advisory is shared at This vulnerability is uniquely identified as CVE-2015-2317 since 03/17/2015. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1059.007 for this issue.

The vulnerability scanner Nessus provides a plugin with the ID 82618 (Mandriva Linux Security Advisory : python-django (MDVSA-2015:195)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 168079 (OpenSuSE Security Update for python-django (openSUSE-SU-2015:1598-1)).

Upgrading to version 1.6.9 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (82618). Entries connected to this vulnerability are available at 68970, 68971, 68972 and 73691.





  • open-source

CPE 2.3info

CPE 2.2info


VulDB Meta Base Score: 4.3
VulDB Meta Temp Score: 4.1

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍



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

NVD Base Score: 🔍


Class: Cross site scripting
CWE: CWE-79 / CWE-74 / CWE-707
ATT&CK: T1059.007

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 82618
Nessus Name: Mandriva Linux Security Advisory : python-django (MDVSA-2015:195)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 703204
OpenVAS Name: Debian Security Advisory DSA 3204-1 (python-django - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Django 1.6.9


03/17/2015 🔍
03/24/2015 +7 days 🔍
03/24/2015 +0 days 🔍
03/25/2015 +1 days 🔍
03/25/2015 +0 days 🔍
03/30/2015 +5 days 🔍
03/31/2015 +1 days 🔍
04/07/2015 +7 days 🔍
05/01/2022 +2581 days 🔍


Advisory: usn-2539-1
Status: Not defined
Confirmation: 🔍

CVE: CVE-2015-2317 (🔍)

Vulnerability Center: 49259 - Django XSS via a Control Character in a URL, Medium
SecurityFocus: 73319 - Django CVE-2015-2317 Cross Site Scripting Vulnerability

See also: 🔍


Created: 03/30/2015 12:45 PM
Updated: 05/01/2022 07:05 PM
Changes: 03/30/2015 12:45 PM (65), 06/24/2017 09:21 AM (9), 05/01/2022 06:49 PM (3), 05/01/2022 06:56 PM (1), 05/01/2022 07:05 PM (1)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!