CVE-2015-2317
publishedDjango: possible XSS attack via user-supplied redirect URLs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | squeeze | python-django | Advisory build | 1.2.3-3+squeeze13 | DLA-272-1 |
| Ubuntu | trusty | python-django | Advisory build | 1.6.1-2ubuntu0.8 | USN-2539-1 |
| Debian | wheezy | python-django | Advisory build | 1.4.5-1+deb7u11 | DSA-3204-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
10- FEDORA-2015-5766 http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html
- FEDORA-2015-9604 http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html
- openSUSE-SU-2015:0643 http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html
- openSUSE-SU-2015:1598 http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html
- USN-2539-1 http://ubuntu.com/usn/usn-2539-1
- DSA-3204 http://www.debian.org/security/2015/dsa-3204
- MDVSA-2015:195 http://www.mandriva.com/security/advisories?name=MDVSA-2015:195
- http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html
- 73319 http://www.securityfocus.com/bid/73319
- https://www.djangoproject.com/weblog/2015/mar/18/security-releases/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4e07958f0d202eef326b6b7b998fac55062e867a19d66b0f2d962e8f4b32b29a
- Ingested
- 23 Sep 2026, 07:40:31 UTC
- Source record
- Official CVE record