{"cve":"CVE-2015-2317","nvd":{"published":"2015-03-25T14:59:04.377","modified":"2026-06-17T00:23:54.803","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-79"],"references":["http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html","http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html","http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html","http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html","http://ubuntu.com/usn/usn-2539-1"],"products":["canonical:ubuntu_linux","debian:debian_linux","djangoproject:django","fedoraproject:fedora","opensuse:opensuse","oracle:solaris"],"source":"nvd","synced_at":"2026-10-19T20:35:35.528235705+00:00"},"epss":{"cve":"CVE-2015-2317","score":0.04968,"percentile":0.92195,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7fq8-4pv5-5w5c","url":"https://osv.dev/vulnerability/GHSA-7fq8-4pv5-5w5c","summary":"Django cross-site scripting (XSS) attack via user-supplied redirect URLs","modified":"2024-09-18T16:08:07.646239Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<1.4.20"],"fixed":["1.4.20"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.5 <1.6.11"],"fixed":["1.6.11"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.7 <1.7.7"],"fixed":["1.7.7"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.8a1 <1.8c1"],"fixed":["1.8c1"]}]},{"id":"PYSEC-2015-9","url":"https://osv.dev/vulnerability/PYSEC-2015-9","summary":"","modified":"2026-06-10T17:01:00.424905034Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<1.4.20",">=1.5 <1.6.11",">=1.7 <1.7.7",">=1.8a0 <1.8c1"],"fixed":["1.4.20","1.6.11","1.7.7","1.8c1"]}]}],"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."]}