django up to 1.2.7 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.2.7 (Content Management System) and classified as problematic. This issue affects an unknown code. The manipulation with an unknown input leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to CWE-79. The product 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. Impacted is integrity. The summary by CVE is:

The (1) django.http.HttpResponseRedirect and (2) django.http.HttpResponsePermanentRedirect classes in Django before 1.3.2 and 1.4.x before 1.4.1 do not validate the scheme of a redirect target, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via a data: URL.

The weakness was disclosed 07/31/2012 (Website). The advisory is shared at The identification of this vulnerability is CVE-2012-3442 since 06/14/2012. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Neither technical details nor an exploit are publicly available. MITRE ATT&CK project uses the attack technique T1059.007 for this issue.

The vulnerability scanner Nessus provides a plugin with the ID 74704 (openSUSE Security Update : python-django (openSUSE-SU-2012:0970-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 195270 (Ubuntu Security Notification for Python-django Vulnerabilities (USN-1560-1)).

Upgrading to version 1.0 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (77284) and Tenable (74704).






CPE 2.3info

CPE 2.2info


VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍


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

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 74704
Nessus Name: openSUSE Security Update : python-django (openSUSE-SU-2012:0970-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 892529
OpenVAS Name: Debian Security Advisory DSA 2529-1 (python-django - several vulnerabilities
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.0


06/14/2012 🔍
07/30/2012 +46 days 🔍
07/30/2012 +0 days 🔍
07/31/2012 +1 days 🔍
07/31/2012 +0 days 🔍
08/19/2012 +19 days 🔍
06/13/2014 +663 days 🔍
03/23/2015 +283 days 🔍
12/07/2021 +2451 days 🔍


Advisory: USN-1560-1
Status: Not defined
Confirmation: 🔍

CVE: CVE-2012-3442 (🔍)

X-Force: 77284
Vulnerability Center: 35927 - Django Before 1.3.2 and 1.4.x Before 1.4.1 Cross Site Scripting Vulnerability via a Data: URL, Medium
SecurityFocus: 54742 - Django Multiple Security Vulnerabilities


Created: 03/23/2015 04:50 PM
Updated: 12/07/2021 09:03 AM
Changes: 03/23/2015 04:50 PM (62), 04/15/2017 07:42 PM (11), 12/07/2021 09:02 AM (3), 12/07/2021 09:03 AM (1)
Complete: 🔍
Cache ID: 3:38D:40


No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!