CVE-2015-2317Cross-site Scripting in Django

CWE-79Cross-site Scripting14 documents8 sources
Severity
4.3MEDIUMNVD
OSV5.0
EPSS
4.3%
top 11.14%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 25
Latest updateMay 14

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.

CVSS vector

AV:N/AC:M/C:N/I:P/A:NExploitability: 8.6 | Impact: 2.9

Affected Packages4 packages

PyPIdjangoproject/django1.51.6.11+3
NVDdjangoproject/django1.4.19+32
NVDoracle/solaris11.2

Also affects: Debian Linux 7.0, Fedora 22, Ubuntu Linux 10.04, 12.04, 14.04, 14.10

🔴Vulnerability Details

5
GHSA
Django cross-site scripting (XSS) attack via user-supplied redirect URLs2022-05-14
OSV
Django cross-site scripting (XSS) attack via user-supplied redirect URLs2022-05-14
CVEList
CVE-2015-2317: The utils2015-03-25
OSV
CVE-2015-2317: The utils2015-03-25
OSV
python-django vulnerabilities2015-03-23

📋Vendor Advisories

3
Ubuntu
Django vulnerabilities2015-03-23
Red Hat
Django: possible XSS attack via user-supplied redirect URLs2015-03-18
Debian
CVE-2015-2317: python-django - The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before...2015

💬Community

5
Bugzilla
CVE-2015-2317 python-django14: Django: possible XSS attack via user-supplied redirect URLs [fedora-20]2015-03-19
Bugzilla
CVE-2015-2317 python-django: Django: possible XSS attack via user-supplied redirect URLs [epel-7]2015-03-19
Bugzilla
CVE-2015-2317 python-django: Django: possible XSS attack via user-supplied redirect URLs [fedora-all]2015-03-19
Bugzilla
CVE-2015-2317 Django14: Django: possible XSS attack via user-supplied redirect URLs [epel-6]2015-03-19
Bugzilla
CVE-2015-2317 Django: possible XSS attack via user-supplied redirect URLs2015-03-17
CVE-2015-2317 — Cross-site Scripting in Django | cvebase