CVE-2015-2317
MEDIUM6.1EPSS 2.9%python-django - security update
Published: 5/14/2022Modified: 4/28/2026
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.
Affected packages (5)
- Debian/python-djangofrom 0, < 1.7.7-1
- Debian/python-djangofrom 0, < 1.2.3-3+squeeze13
- Debian/python-djangofrom 0, < 1.4.5-1+deb7u11
- PyPI/djangofrom 0, < 1.4.20
- PyPI/djangofrom 0, < 1.4.20, >= 1.5, < 1.6.11, >= 1.7, < 1.7.7, >= 1.8a0, < 1.8c1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References (20)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2015-2317
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2015-2317
- ADVISORYhttps://www.djangoproject.com/weblog/2015/mar/18/security-releases/
- PATCHhttps://github.com/django/django
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html
- WEBhttp://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html
- WEBhttp://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html
- WEBhttps://github.com/django/django/commit/2342693b31f740a422abf7267c53b4e7bc487c1b
- WEBhttps://github.com/django/django/commit/2a4113dbd532ce952308992633d802dc169a75f1
- WEBhttps://github.com/django/django/commit/5510f070711540aaa8d3707776cd77494e688ef9
- WEBhttps://github.com/django/django/commit/770427c2896a078925abfca2317486b284d22f04
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-9.yaml
- WEBhttps://web.archive.org/web/20200228131706/http://www.securityfocus.com/bid/73319
- WEBhttps://www.djangoproject.com/weblog/2015/mar/18/security-releases
- WEBhttp://ubuntu.com/usn/usn-2539-1
- WEBhttp://www.debian.org/security/2015/dsa-3204
- WEBhttp://www.mandriva.com/security/advisories?name=MDVSA-2015:195
- WEBhttp://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html
- WEBhttp://www.securityfocus.com/bid/73319