CVE-2015-2317 in Canonical Ubuntu Linux and 5 more products
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.
Affects 6 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 10.04 12.04 14.04 14.10 |
| Debian | Debian Linux | 7.0 |
| Djangoproject | Django | 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5+27 more1.5.6 1.5.7 1.5.8 1.5.9 1.5.10 1.5.11 1.5.12 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.6.10 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.8.0 ≤ 1.4.19 |
| Fedoraproject | Fedora | 22 |
| Opensuse | Opensuse | 13.2 |
| Oracle | Solaris | 11.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-2317 |
|---|---|
| BreachSpider ID | BS-2015-GLOBAL-103694-M |
| CVSS vector | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| Published | 2015-03-25 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-79: Cross-Site Scripting (XSS)
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
Related attack patterns (CAPEC)
CAPEC-85 AJAX Footprinting via CWE-79
CAPEC-209 XSS Using MIME Type Mismatch via CWE-79
CAPEC-588 DOM-Based XSS via CWE-79
CAPEC-591 Reflected XSS via CWE-79
CAPEC-592 Stored XSS via CWE-79
Show all 6
CAPEC-63 Cross-Site Scripting (XSS) via CWE-79
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2015. A medium severity vulnerability affects Canonical systems (CVE-2015-2317). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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 vector: AV:N/AC:M/Au:N/C:N/I:P/A:N.
Questions
What is CVE-2015-2317?
This vulnerability was disclosed in 2015. A medium severity vulnerability affects Canonical systems (CVE-2015-2317). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2015-2317?
CVE-2015-2317 has CVSS 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. EPSS: 5.0%.
Is CVE-2015-2317 actively exploited?
No confirmed active exploitation of CVE-2015-2317 as of 2026-09-25.
How do I remediate CVE-2015-2317?
Priority: MONITOR. Advisory: https://www.djangoproject.com/weblog/2015/mar/18/security-releases/ PSIRT: [email protected]
What systems are affected by CVE-2015-2317?
CVE-2015-2317 affects Canonical Ubuntu Linux; Debian Debian Linux; Djangoproject Django; Fedoraproject Fedora; Opensuse Opensuse; Oracle Solaris.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.