{"id":"CVE-2015-2317","aliases":["GHSA-7fq8-4pv5-5w5c","PYSEC-2015-9"],"url":"https://o3.security/vulnerability/CVE-2015-2317","summary":"Django cross-site scripting (XSS) attack via user-supplied redirect URLs","details":"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.","published":"2015-03-25T14:59:04Z","modified":"2026-04-16T06:17:42.750242225Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"1.4.20"},{"ecosystem":"PyPI","name":"django","fixedVersion":"1.6.11"},{"ecosystem":"PyPI","name":"django","fixedVersion":"1.7.7"},{"ecosystem":"PyPI","name":"django","fixedVersion":"1.8c1"}],"fix":null,"references":[{"type":"ADVISORY","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html"},{"type":"ADVISORY","url":"http://ubuntu.com/usn/usn-2539-1"},{"type":"ADVISORY","url":"http://www.debian.org/security/2015/dsa-3204"},{"type":"ADVISORY","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:195"},{"type":"ADVISORY","url":"http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2015/mar/18/security-releases/"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html"},{"type":"WEB","url":"http://www.securityfocus.com/bid/73319"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-16T06:17:42.750242225Z"}}