CVE-2015-2317 json
Django cross-site scripting (XSS) attack via user-supplied redirect URLs
published 11y ago modified 4mo ago also GHSA-7fq8-4pv5-5w5c , PYSEC-2015-9 , EUVD-2015-0018
- cvss
- 6.1
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.0%
- EPSS 5.0% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django 1.4.20, 1.6.11, 1.7.7, 1.8c1
- python-django Debian 14, Debian 13, Debian 12 1.7.7-1
debian advisories DEBIAN-CVE-2015-2317
- python-django Ubuntu 14.04 LTS 1.6.1-2ubuntu0.8
ubuntu advisories UBUNTU-CVE-2015-2317
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-Django Enterprise Storage 1.0 1.6.11-4.1
suse advisories SUSE-SU-2015:1109-1SUSE-SU-2015:1112-1
Is CVE-2015-2317 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-2317 updated cvss 2.6
Django: possible XSS attack via user-supplied redirect URLs
-
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) python-django Red Hat Enterprise Linux OpenStack Platform 6 (Juno) python-djangoaffected: no fix available “Fix deferred”
-
Red Hat OpenStack Platform 4 Django14 Red Hat Subscription Asset Manager Djangoaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.99% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | <1.4.20 >=1.5, <1.6.11 >=1.7, <1.7.7 >=1.8a1, <1.8c1 >=1.8a0, <1.8c1 |
1.4.20 1.6.11 1.7.7 1.8c1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/django/django/commit/2342693b31f740a422abf7267c53b4e7bc487c1b
web
-
github.com
/django/django/commit/2a4113dbd532ce952308992633d802dc169a75f1
web
-
github.com
/django/django/commit/5510f070711540aaa8d3707776cd77494e688ef9
web
-
github.com
/django/django/commit/770427c2896a078925abfca2317486b284d22f04
web
-
ubuntu.com
/usn/usn-2539-1
vendor-advisory, web, third-party-advisory
-
debian.org
/security/2015/dsa-3204
vendor-advisory, web, third-party-advisory, advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-April/155421.html
vendor-advisory, web, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2015-09/msg00035.html
vendor-advisory, web
-
mandriva.com
/security/advisories?name=MDVSA-2015:195
vendor-advisory, web, broken-link, advisory
-
lists.opensuse.org
/opensuse-updates/2015-04/msg00001.html
vendor-advisory, web, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-June/160263.html
vendor-advisory, web
-
djangoproject.com
/weblog/2015/mar/18/security-releases/
vendor-advisory, article
-
securityfocus.com
/bid/73319
vdb-entry, web
-
oracle.com
/technetwork/topics/security/bulletinapr2015-2511959.html
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2015-2317
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-9.yaml
web
-
web.archive.org
/web/20200228131706/http://www.securityfocus.com/bid/73319
web
-
djangoproject.com
/weblog/2015/mar/18/security-releases
web
-
github.com
/advisories/GHSA-7fq8-4pv5-5w5c
advisory
Sources
- CVE List CVE-2015-2317
- GitHub Advisory GHSA-7fq8-4pv5-5w5c
- NVD CVE-2015-2317
- OSV PYSEC-2015-9
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.