CVE-2015-2317

Summary

CVECVE-2015-2317
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2015-03-25 14:59:04 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 4.3 from [email protected]

AV:N/AC:M/Au:N/C:N/I:P/A:N

Problem Types: CWE-79 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 10.04 All All All
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 14.10 All All All
Operating System Debian Debian Linux 7.0 All All All
Application Djangoproject Django 1.5 All All All
Application Djangoproject Django 1.5 alpha All All
Application Djangoproject Django 1.5 beta All All
Application Djangoproject Django 1.5.1 All All All
Application Djangoproject Django 1.5.10 All All All
Application Djangoproject Django 1.5.11 All All All
Application Djangoproject Django 1.5.12 All All All
Application Djangoproject Django 1.5.2 All All All
Application Djangoproject Django 1.5.3 All All All
Application Djangoproject Django 1.5.4 All All All
Application Djangoproject Django 1.5.5 All All All
Application Djangoproject Django 1.5.6 All All All
Application Djangoproject Django 1.5.7 All All All
Application Djangoproject Django 1.5.8 All All All
Application Djangoproject Django 1.5.9 All All All
Application Djangoproject Django 1.6 - All All
Application Djangoproject Django 1.6 beta1 All All
Application Djangoproject Django 1.6 beta2 All All
Application Djangoproject Django 1.6 beta3 All All
Application Djangoproject Django 1.6 beta4 All All
Application Djangoproject Django 1.6.1 All All All
Application Djangoproject Django 1.6.10 All All All
Application Djangoproject Django 1.6.2 All All All
Application Djangoproject Django 1.6.3 All All All
Application Djangoproject Django 1.6.4 All All All
Application Djangoproject Django 1.6.5 All All All
Application Djangoproject Django 1.6.6 All All All
Application Djangoproject Django 1.6.7 All All All
Application Djangoproject Django 1.6.8 All All All
Application Djangoproject Django 1.6.9 All All All
Application Djangoproject Django 1.7 beta1 All All
Application Djangoproject Django 1.7 beta2 All All
Application Djangoproject Django 1.7 beta3 All All
Application Djangoproject Django 1.7 beta4 All All
Application Djangoproject Django 1.7 rc1 All All
Application Djangoproject Django 1.7 rc2 All All
Application Djangoproject Django 1.7 rc3 All All
Application Djangoproject Django 1.7.1 All All All
Application Djangoproject Django 1.7.2 All All All
Application Djangoproject Django 1.7.3 All All All
Application Djangoproject Django 1.7.4 All All All
Application Djangoproject Django 1.7.5 All All All
Application Djangoproject Django 1.7.6 All All All
Application Djangoproject Django 1.8.0 All All All
Application Djangoproject Django All All All All
Operating System Fedoraproject Fedora 22 All All All
Operating System Opensuse Opensuse 13.2 All All All
Operating System Oracle Solaris 11.2 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Oracle Solaris Third Party Bulletin - April 2015 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Third Party Advisory
Django CVE-2015-2317 Cross Site Scripting Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Support / Security / Advisories / / MDVSA-2015:195 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Broken Link
USN-2539-1: Django vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 ubuntu.com Third Party Advisory
[SECURITY] Fedora 20 Update: python-django14-1.4.20-1.fc20 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Security releases issued | Weblog | Django af854a3a-2127-422b-91ae-364da2661108 www.djangoproject.com Vendor Advisory
openSUSE-SU-2015:0643-1: moderate: Security update for python-Django af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Third Party Advisory
openSUSE-SU-2015:1598-1: moderate: Security update for python-django af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Debian -- Security Information -- DSA-3204-1 python-django af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
[SECURITY] Fedora 22 Update: python-django-1.8-1.fc22 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report