CVE-2017-7233: djangoproject django URL Redirection to Untrusted Site
Vulnerability summary
CVE-2017-7233 is a medium (CVSS 6.1) URL Redirection to Untrusted Site vulnerability in djangoproject django. EPSS estimates a 2.40% chance of exploitation in the next 30 days, higher than 84.1% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 16 · Related 12Timeline
- 04-04-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 6 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated6.1MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · PypiEcosystem advisory · calculated6.1MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · Red hatEcosystem advisory · calculated6.1MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
2.40%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.40% on 05-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat3 products
- python-django< 0:1.6.11-7.el7ost | < 0:1.8.18-1.el7ost
- python-django-bash-completion< 0:1.6.11-7.el7ost | < 0:1.8.18-1.el7ost
- python-django-doc< 0:1.6.11-7.el7ost | < 0:1.8.18-1.el7ost
Alpine2 products
- py-django< 1.10.7-r0 | < 1.8.18-r0
- py3-django< 1.10.7-r0
Debian1 product
- python-django< 1:1.10.7-1
Djangoproject1 product
- djangoEOL1.8.0 | 1.8.0:a1 | 1.8.0:b1 | 1.8.0:b2 | 1.8.0:c1 | 1.8.1 | 1.8.2 | 1.8.3 | 1.8.4 | 1.8.5 | 1.8.6 | 1.8.7 | 1.8.8 | 1.8.9 | 1.8.10 | 1.8.11 | 1.8.12 | 1.8.13 | 1.8.14 | 1.8.15 | 1.8.16 | 1.8.17 | 1.9 | 1.9:a1 | 1.9:b1 | 1.9:rc1 | 1.9:rc2 | 1.9.1 | 1.9.2 | 1.9.3 | 1.9.4 | 1.9.5 | 1.9.6 | 1.9.7 | 1.9.8 | 1.9.9 | 1.9.10 | 1.9.11 | 1.9.12 | 1.10.0 | 1.10.0:a1 | 1.10.0:b1 | 1.10.0:rc1 | 1.10.1 | 1.10.2 | 1.10.3 | 1.10.4 | 1.10.5 | 1.10.6
PyPI1 product
- django≥ 1.10a1, < 1.10.7 | ≥ 1.9a1, < 1.9.13 | ≥ 1.8a1, < 1.8.18 | ≥ 1.8, < 1.8.18
Ubuntu1 product
- python-django< 1.6.11-0ubuntu1.1 | < 1.8.7-1ubuntu5.5
6 vendors · 9 products
References
33 links- www.djangoproject.com/weblog/2017/apr/04/security-releases/X Refsource CONFIRMVendor AdvisoryARTICLEREPORT
Show all 33 references
- github.com/django/djangoPACKAGE