Django: possible XSS attack via user-supplied redirect URLs
Published Mar 25, 2015
5.3
MEDIUMCVSS 4.0
EPSS 4.99%
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.
Affected products
No data.
Configuration 1
- 7.0
- 22
- 13.2
Configuration 2
- ≤ 1.4.19
- 1.5
- 1.5
- 1.5
- 1.5.1
- 1.5.2
- 1.5.3
- 1.5.4
- 1.5.5
- 1.5.6
- 1.5.7
- 1.5.8
- 1.5.9
- 1.5.10
- 1.5.11
- 1.5.12
- 1.6
- 1.6
- 1.6
- 1.6
- 1.6
- 1.6.1
- 1.6.2
- 1.6.3
- 1.6.4
- 1.6.5
- 1.6.6
- 1.6.7
- 1.6.8
- 1.6.9
- 1.6.10
- 1.7
- 1.7
- 1.7
- 1.7
- 1.7
- 1.7
- 1.7
- 1.7.1
- 1.7.2
- 1.7.3
- 1.7.4
- 1.7.5
- 1.7.6
- 1.8.0
Configuration 4
- 10.04
- 12.04
- 14.04
- 14.10
No data.
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)
python-django
Fix deferred
Red Hat Enterprise Linux OpenStack Platform 6 (Juno)
python-django
Fix deferred
Red Hat OpenStack Platform 4
Django14
Will not fix
Red Hat Subscription Asset Manager
Django
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) | python-django | Fix deferred | n/a |
| Red Hat Enterprise Linux OpenStack Platform 6 (Juno) | python-django | Fix deferred | n/a |
| Red Hat OpenStack Platform 4 | Django14 | Will not fix | n/a |
| Red Hat Subscription Asset Manager | Django | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (44 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.99% (0.04990) | 91.96th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.03% (0.05026) | 91.12th | v5 (v2026.06.15) |
| May 13, 2026 | 2.88% (0.02884) | 86.44th | v4 (v2025.03.14) |
| Mar 4, 2026 | 4.28% (0.04282) | 88.63th | v4 (v2025.03.14) |
| Mar 1, 2026 | 2.24% (0.02238) | 84.34th | v4 (v2025.03.14) |
| Feb 4, 2026 | 4.67% (0.04666) | 89.05th | v4 (v2025.03.14) |
| Feb 1, 2026 | 2.24% (0.02238) | 84.24th | v4 (v2025.03.14) |
| Jan 4, 2026 | 4.67% (0.04666) | 88.97th | v4 (v2025.03.14) |
| Jan 1, 2026 | 2.24% (0.02238) | 84.18th | v4 (v2025.03.14) |
| Dec 28, 2025 | 4.67% (0.04666) | 88.96th | v4 (v2025.03.14) |
| Dec 27, 2025 | 3.15% (0.03149) | 86.53th | v4 (v2025.03.14) |
| Dec 4, 2025 | 4.67% (0.04666) | 88.90th | v4 (v2025.03.14) |
| Dec 1, 2025 | 2.24% (0.02238) | 84.08th | v4 (v2025.03.14) |
| Nov 4, 2025 | 4.67% (0.04666) | 88.81th | v4 (v2025.03.14) |
| Nov 1, 2025 | 2.24% (0.02238) | 84.04th | v4 (v2025.03.14) |
| Oct 28, 2025 | 4.67% (0.04666) | 88.81th | v4 (v2025.03.14) |
| Oct 27, 2025 | 3.15% (0.03149) | 86.39th | v4 (v2025.03.14) |
| Oct 4, 2025 | 4.67% (0.04666) | 88.84th | v4 (v2025.03.14) |
| Oct 1, 2025 | 2.24% (0.02238) | 84.02th | v4 (v2025.03.14) |
| Sep 5, 2025 | 3.72% (0.03720) | 87.52th | v4 (v2025.03.14) |
| Sep 1, 2025 | 1.49% (0.01493) | 80.42th | v4 (v2025.03.14) |
| Aug 5, 2025 | 3.15% (0.03149) | 86.38th | v4 (v2025.03.14) |
| Aug 1, 2025 | 1.49% (0.01493) | 80.39th | v4 (v2025.03.14) |
| Jul 6, 2025 | 3.15% (0.03149) | 86.32th | v4 (v2025.03.14) |
| Jul 1, 2025 | 1.49% (0.01493) | 80.26th | v4 (v2025.03.14) |
| Jun 6, 2025 | 3.15% (0.03149) | 86.26th | v4 (v2025.03.14) |
| Jun 1, 2025 | 1.49% (0.01493) | 80.22th | v4 (v2025.03.14) |
| May 4, 2025 | 3.15% (0.03149) | 86.19th | v4 (v2025.03.14) |
| May 1, 2025 | 1.28% (0.01280) | 78.55th | v4 (v2025.03.14) |
| Apr 17, 2025 | 3.06% (0.03060) | 85.96th | v4 (v2025.03.14) |
| Apr 16, 2025 | 1.28% (0.01280) | 78.43th | v4 (v2025.03.14) |
| Apr 7, 2025 | 3.06% (0.03060) | 85.57th | v4 (v2025.03.14) |
| Apr 5, 2025 | 1.28% (0.01280) | 77.84th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.06% (0.03060) | 85.50th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.54% (0.01537) | 69.64th | v4 (v2025.03.14) |
| Mar 19, 2025 | 3.06% (0.03060) | 85.20th | v4 (v2025.03.14) |
| Mar 18, 2025 | 1.28% (0.01280) | 78.23th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.06% (0.03060) | 85.80th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.32% (0.00317) | 71.28th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.32% (0.00323) | 69.89th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.32% (0.00323) | 65.99th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.96% (0.01955) | 78.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.96% (0.01955) | 76.59th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.96% (0.01955) | 55.71th | v2 (v2022.01.01) |
References (21)
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html vendor-advisoryx_refsource_FEDORAThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html vendor-advisoryx_refsource_FEDORA
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html vendor-advisoryx_refsource_SUSE
- http://ubuntu.com/usn/usn-2539-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.debian.org/security/2015/dsa-3204 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:195 vendor-advisoryx_refsource_MANDRIVABroken Link
- http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html x_refsource_CONFIRMThird Party Advisory
- http://www.securityfocus.com/bid/73319 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2015-2317 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1202818 Issue Tracking
- https://github.com/advisories/GHSA-7fq8-4pv5-5w5c Advisory
- https://github.com/django/django/commit/2342693b31f740a422abf7267c53b4e7bc487c1b
- https://github.com/django/django/commit/2a4113dbd532ce952308992633d802dc169a75f1
- https://github.com/django/django/commit/5510f070711540aaa8d3707776cd77494e688ef9
- https://github.com/django/django/commit/770427c2896a078925abfca2317486b284d22f04
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-9.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2015-2317
- https://web.archive.org/web/20200228131706/http://www.securityfocus.com/bid/73319
- https://www.cve.org/CVERecord?id=CVE-2015-2317
- https://www.djangoproject.com/weblog/2015/mar/18/security-releases x_refsource_CONFIRMVendor Advisory
Change history (0)
No recorded changes yet.