patchminder
No public exploit found CVE-2015-2317

Cross-site scriptingin the django package.

Published 25 Mar 2015 · Updated 6 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 6.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 5.0% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • Upgrade Django (PyPI) to 1.4.20, 1.6.11, 1.7.7, 1.8c1 or later, whichever matches your release line.
  • Upgrade django (PyPI) to 1.4.20, 1.6.11, 1.7.7, 1.8c1 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
Django (PyPI)
before 1.4.20
1.4.20
GitHub advisory
Django (PyPI)
1.5 to before 1.6.11
1.6.11
GitHub advisory
Django (PyPI)
1.7 to before 1.7.7
1.7.7
GitHub advisory
Django (PyPI)
1.8a1 to before 1.8c1
1.8c1
GitHub advisory
django (PyPI)
before 1.4.20
1.4.20
GitHub advisory
django (PyPI)
1.5 to before 1.6.11
1.6.11
GitHub advisory
django (PyPI)
1.7 to before 1.7.7
1.7.7
GitHub advisory
django (PyPI)
1.8a0 to before 1.8c1
1.8c1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 17 Mar 2015
    CVE ID reserved by mitre.
  2. 25 Mar 2015
    Published in the CVE List.
  3. 6 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2015-2317: Cross-site scripting in the django package. https://patchminder.com/cve/cve-2015-2317/ (accessed 5 December 2026).