cve.bz

CVE-2015-2317 Cross-site Scripting

no score yetEPSS 5.0%Fix available

No CVSS score yet. EPSS 5.0% estimated probability of exploitation activity in the next 30 days. Fixed in django 1.4.20, 1.6.11, 1.7.7.

On this page
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.
EPSS
5.0% (unchanged from 5.0% a week ago; 5.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-2317 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-2317?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-2317?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-2317 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux7.0
fedoraproject:fedora22
opensuse:opensuse13.2
djangoproject:djangothrough 1.4.19
djangoproject:django1.5
djangoproject:django1.5:alpha
djangoproject:django1.5:beta
djangoproject:django1.5.1
djangoproject:django1.5.2
djangoproject:django1.5.3
djangoproject:django1.5.4
djangoproject:django1.5.5
djangoproject:django1.5.6
djangoproject:django1.5.7
djangoproject:django1.5.8
djangoproject:django1.5.9
djangoproject:django1.5.10
djangoproject:django1.5.11
djangoproject:django1.5.12
djangoproject:django1.6
djangoproject:django1.6:beta1
djangoproject:django1.6:beta2
djangoproject:django1.6:beta3
djangoproject:django1.6:beta4
djangoproject:django1.6.1
djangoproject:django1.6.2
djangoproject:django1.6.3
djangoproject:django1.6.4
djangoproject:django1.6.5
djangoproject:django1.6.6
djangoproject:django1.6.7
djangoproject:django1.6.8
djangoproject:django1.6.9
djangoproject:django1.6.10
djangoproject:django1.7:beta1
djangoproject:django1.7:beta2
djangoproject:django1.7:beta3
djangoproject:django1.7:beta4
djangoproject:django1.7:rc1
djangoproject:django1.7:rc2
djangoproject:django1.7:rc3
djangoproject:django1.7.1
djangoproject:django1.7.2
djangoproject:django1.7.3
djangoproject:django1.7.4
djangoproject:django1.7.5
djangoproject:django1.7.6
djangoproject:django1.8.0
oracle:solaris11.2
canonical:ubuntu_linux10.04
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux14.10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7fq8-4pv5-5w5cPyPIdjango<1.4.201.4.20
GHSA-7fq8-4pv5-5w5cPyPIdjango>=1.5 <1.6.111.6.11
GHSA-7fq8-4pv5-5w5cPyPIdjango>=1.7 <1.7.71.7.7
GHSA-7fq8-4pv5-5w5cPyPIdjango>=1.8a1 <1.8c11.8c1
PYSEC-2015-9PyPIdjango<1.4.20
>=1.5 <1.6.11
>=1.7 <1.7.7
>=1.8a0 <1.8c1
1.4.20, 1.6.11, 1.7.7, 1.8c1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0python-django1.2.3-3+squeeze13DLA-272-1
Debian7python-django1.4.5-1+deb7u11DSA-3204-1
Debian12, 13, 14python-django1.7.7-1DEBIAN-CVE-2015-2317
Ubuntu14.04:LTSpython-django1.6.1-2ubuntu0.8UBUNTU-CVE-2015-2317 USN-2539-1
SUSEEnterprise Storage 1.0python-Django1.6.11-4.1SUSE-SU-2015:1109-1 SUSE-SU-2015:1112-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)python-djangoFix deferred
Red Hat Enterprise Linux OpenStack Platform 6 (Juno)python-djangoFix deferred
Red Hat OpenStack Platform 4Django14Will not fix
Red Hat Subscription Asset ManagerDjangoWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-2317.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON