{"cve":"CVE-2017-7233","nvd":{"published":"2017-04-04T17:59:00.273","modified":"2026-06-17T01:23:54.553","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-601"],"references":["http://www.debian.org/security/2017/dsa-3835","http://www.securityfocus.com/bid/97406","http://www.securitytracker.com/id/1038177","https://access.redhat.com/errata/RHSA-2017:1445","https://access.redhat.com/errata/RHSA-2017:1451"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T20:42:09.859288039+00:00"},"epss":{"cve":"CVE-2017-7233","score":0.02404,"percentile":0.84058,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-37hp-765x-j95x","url":"https://osv.dev/vulnerability/GHSA-37hp-765x-j95x","summary":"Django open redirect and possible XSS attack via user-supplied numeric redirect URLs","modified":"2024-09-18T16:25:30.395015Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.10a1 <1.10.7"],"fixed":["1.10.7"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.9a1 <1.9.13"],"fixed":["1.9.13"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.8a1 <1.8.18"],"fixed":["1.8.18"]}]},{"id":"PYSEC-2017-9","url":"https://osv.dev/vulnerability/PYSEC-2017-9","summary":"","modified":"2023-11-08T03:59:24.015077Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.10 <1.10.7",">=1.9 <1.9.13",">=1.8 <1.8.18"],"fixed":["1.10.7","1.9.13","1.8.18"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}