CVE-2015-2317
mediumpriority · track · 19EPSS 0.050 · 92 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.7–6.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (47)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-7fq8-4pv5-5w5cDjango cross-site scripting (XSS) attack via user-supplied redirect URLs2022-05-14ghsa · osvUS
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.
- PYSEC-2015-92015-03-25vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (22)
External citations — patches, advisories, analysis.
- http://ubuntu.com/usn/usn-2539-1cnnvd
- https://www.djangoproject.com/weblog/2015/mar/18/security-releases/cnnvd
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.htmlenisa_euvd
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.htmlenisa_euvd
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.htmlenisa_euvd
- http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.htmlenisa_euvd
- http://ubuntu.com/usn/usn-2539-1enisa_euvd
- http://www.debian.org/security/2015/dsa-3204enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan