Feed
6.1MEDIUM
CVE-2015-2317Django cross-site scripting (XSS) attack via user-supplied redirect URLs
A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 5.0% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 5.0%
- percentile 93%
- Fix
- Named by a source
- CVE published 25 Mar 2015
Reference
None of the "Needs attention" rules apply right now.
EPSS 5.0% (+5) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- django (PyPI): upgrade to 1.4.20 / 1.6.11 / 1.7.7 / 1.8c1 or later on your release line.
- Commit / pull request: https://github.com/django/django/commit/2342693b31f740a422abf7267c53b4e7bc487c1b
- Commit / pull request: https://github.com/django/django/commit/2a4113dbd532ce952308992633d802dc169a75f1
- Commit / pull request: https://github.com/django/django/commit/5510f070711540aaa8d3707776cd77494e688ef9
- Commit / pull request: https://github.com/django/django/commit/770427c2896a078925abfca2317486b284d22f04
Who should check
django (PyPI) pkg:pypi/django
- Affected< 1.4.20Fixed in1.4.20OSV (PYSEC-2015-9)
- Affected>= 1.5, < 1.6.11Fixed in1.6.11OSV (PYSEC-2015-9)
- Affected>= 1.7, < 1.7.7Fixed in1.7.7OSV (PYSEC-2015-9)
- Affected>= 1.8a1, < 1.8c1Fixed in1.8c1OSV (GHSA-7fq8-4pv5-5w5c)
- Affected>= 1.8a0, < 1.8c1Fixed in1.8c1OSV (PYSEC-2015-9)
Confirmed facts
- CVSS
- 6.1 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-7fq8-4pv5-5w5c)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-79
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2015-2317
- commit / pull requesthttps://github.com/django/django/commit/2342693b31f740a422abf7267c53b4e7bc487c1b
- commit / pull requesthttps://github.com/django/django/commit/2a4113dbd532ce952308992633d802dc169a75f1
- commit / pull requesthttps://github.com/django/django/commit/5510f070711540aaa8d3707776cd77494e688ef9
- commit / pull requesthttps://github.com/django/django/commit/770427c2896a078925abfca2317486b284d22f04
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-9.yaml
- otherhttps://web.archive.org/web/20200228131706/http://www.securityfocus.com/bid/73319
- otherhttps://www.djangoproject.com/weblog/2015/mar/18/security-releases
- otherhttp://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html
- otherhttp://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html
- otherhttp://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html
- otherhttp://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html
- otherhttp://ubuntu.com/usn/usn-2539-1
- advisoryhttp://www.debian.org/security/2015/dsa-3204
- advisoryhttp://www.mandriva.com/security/advisories?name=MDVSA-2015:195
- otherhttp://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html
- otherhttps://www.djangoproject.com/weblog/2015/mar/18/security-releases/
- otherhttp://www.securityfocus.com/bid/73319
- advisoryhttps://github.com/advisories/GHSA-7fq8-4pv5-5w5c
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-7fq8-4pv5-5w5c (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2015-9 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 29 min ago · osv 29 min ago · nvd 28 min ago · epss 28 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-7fq8-4pv5-5w5c, PYSEC-2015-9