Name | CVE-2015-2317 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-272-1, DSA-3204-1 |
Debian Bugs | 780873 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-django (PTS) | bullseye (security), bullseye | 2:2.2.28-1~deb11u2 | fixed |
bookworm, bookworm (security) | 3:3.2.19-1+deb12u1 | fixed | |
sid, trixie | 3:4.2.16-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python-django | source | squeeze | 1.2.3-3+squeeze13 | DLA-272-1 | ||
python-django | source | wheezy | 1.4.5-1+deb7u11 | DSA-3204-1 | ||
python-django | source | (unstable) | 1.7.7-1 | 780873 |
[squeeze] - python-django <no-dsa> (Minor issue, can wait next security upload)
https://github.com/django/django/commit/2342693b31f740a422abf7267c53b4e7bc487c1b (1.4.x)
https://github.com/django/django/commit/2a4113dbd532ce952308992633d802dc169a75f1 (1.7.x)