CVE-2017-7233
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…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 2.4% · top 16% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-37hp-765x-j95x (opens in a new tab)
References (11)
- 1038177 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- RHSA-2017:1596 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 97406 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- RHSA-2017:3093 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-3835 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2017:1445 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2017:1451 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2927 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2017:1470 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://www.djangoproject.com/weblog/2017/apr/04/security-releases/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2017:1462 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-37hp-765x-j95x (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .