CVE-2015-2317

medium
Published 2022-05-14 · Modified 2024-04-29
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v2
4.3
VIR risk
4.3

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2015-2317

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://www.djangoproject.com/weblog/2015/mar/18/security-releases/

OS impact

OSVersionStatusFixed in
fedora fedora22affected
debian debian7.0affected
ubuntu ubuntu10.04affected
ubuntu ubuntu12.04affected
ubuntu ubuntu14.04affected
ubuntu ubuntu14.10affected
suse suse13.2affected
debian debianbookwormfixed1.7.7-1
debian debianbullseyefixed1.7.7-1
debian debianforkyfixed1.7.7-1
debian debiansidfixed1.7.7-1
debian debiantrixiefixed1.7.7-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango<1.4.201.4.20
python PyPIdjango>=1.5,<1.6.111.6.11
python PyPIdjango>=1.7,<1.7.71.7.7
python PyPIdjango>=1.8a1,<1.8c11.8c1
python PyPIdjango>=1.8a0,<1.8c11.4.20

Application impact

VendorProductVersionsFixed
djangoprojectdjango{"endIncluding":"1.4.19"}
djangoprojectdjango1.5
djangoprojectdjango1.5.1
djangoprojectdjango1.5.2
djangoprojectdjango1.5.3
djangoprojectdjango1.5.4
djangoprojectdjango1.5.5
djangoprojectdjango1.5.6
djangoprojectdjango1.5.7
djangoprojectdjango1.5.8
djangoprojectdjango1.5.9
djangoprojectdjango1.5.10
djangoprojectdjango1.5.11
djangoprojectdjango1.5.12
djangoprojectdjango1.6
djangoprojectdjango1.6.1
djangoprojectdjango1.6.2
djangoprojectdjango1.6.3
djangoprojectdjango1.6.4
djangoprojectdjango1.6.5
djangoprojectdjango1.6.6
djangoprojectdjango1.6.7
djangoprojectdjango1.6.8
djangoprojectdjango1.6.9
djangoprojectdjango1.6.10
djangoprojectdjango1.7
djangoprojectdjango1.7.1
djangoprojectdjango1.7.2
djangoprojectdjango1.7.3
djangoprojectdjango1.7.4
djangoprojectdjango1.7.5
djangoprojectdjango1.7.6
djangoprojectdjango1.8.0

References

CWEs

CWE-79

Verify integrity in audit chain (admin only). AS-IS.