CVE-2017-7233

medium
Published 2019-01-04 · Modified 2023-11-08
CVSS v3
6.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v2
5.8
VIR risk
6.1

Description

Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on ``is_safe_url()`` to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.

Predictions

Exploit likelihood
71%
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-2017-7233

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-7233.html

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://www.djangoproject.com/weblog/2017/apr/04/security-releases/

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201704-2

OS impact

OSVersionStatusFixed in
arch archfixed1.11-1
suse slesaffected
debian debianbookwormfixed1:1.10.7-1
debian debianbullseyefixed1:1.10.7-1
debian debianforkyfixed1:1.10.7-1
debian debiansidfixed1:1.10.7-1
debian debiantrixiefixed1:1.10.7-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=1.10a1,<1.10.71.10.7
python PyPIdjango>=1.9a1,<1.9.131.9.13
python PyPIdjango>=1.8a1,<1.8.181.8.18
python PyPIdjango>=1.8,<1.8.181.10.7

Application impact

VendorProductVersionsFixed
djangoprojectdjango1.8.0
djangoprojectdjango1.8.1
djangoprojectdjango1.8.2
djangoprojectdjango1.8.3
djangoprojectdjango1.8.4
djangoprojectdjango1.8.5
djangoprojectdjango1.8.6
djangoprojectdjango1.8.7
djangoprojectdjango1.8.8
djangoprojectdjango1.8.9
djangoprojectdjango1.8.10
djangoprojectdjango1.8.11
djangoprojectdjango1.8.12
djangoprojectdjango1.8.13
djangoprojectdjango1.8.14
djangoprojectdjango1.8.15
djangoprojectdjango1.8.16
djangoprojectdjango1.8.17
djangoprojectdjango1.9
djangoprojectdjango1.9.1
djangoprojectdjango1.9.2
djangoprojectdjango1.9.3
djangoprojectdjango1.9.4
djangoprojectdjango1.9.5
djangoprojectdjango1.9.6
djangoprojectdjango1.9.7
djangoprojectdjango1.9.8
djangoprojectdjango1.9.9
djangoprojectdjango1.9.10
djangoprojectdjango1.9.11
djangoprojectdjango1.9.12
djangoprojectdjango1.10.0
djangoprojectdjango1.10.1
djangoprojectdjango1.10.2
djangoprojectdjango1.10.3
djangoprojectdjango1.10.4
djangoprojectdjango1.10.5
djangoprojectdjango1.10.6

References

CWEs

CWE-601

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