Skip to content
Fencer Intel
medium 6.1

CVE-2015-2317 json

Django cross-site scripting (XSS) attack via user-supplied redirect URLs

published 11y ago modified 4mo ago also GHSA-7fq8-4pv5-5w5c , PYSEC-2015-9 , EUVD-2015-0018

cvss
6.1
version 3.1, GitHub
cisa kev
Not listed
not in CISA's catalog
epss
5.0%
EPSS 5.0% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi django 1.4.20, 1.6.11, 1.7.7, 1.8c1
  • python-django Debian 14, Debian 13, Debian 12 1.7.7-1

debian advisories DEBIAN-CVE-2015-2317

  • python-django Ubuntu 14.04 LTS 1.6.1-2ubuntu0.8

ubuntu advisories UBUNTU-CVE-2015-2317

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python-Django Enterprise Storage 1.0 1.6.11-4.1

suse advisories SUSE-SU-2015:1109-1SUSE-SU-2015:1112-1

Is CVE-2015-2317 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-2317 updated cvss 2.6

Django: possible XSS attack via user-supplied redirect URLs

  • Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) python-django Red Hat Enterprise Linux OpenStack Platform 6 (Juno) python-django
    affected: no fix available “Fix deferred”
  • Red Hat OpenStack Platform 4 Django14 Red Hat Subscription Asset Manager Django
    affected: no fix planned “Will not fix”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.99% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
pypi django
<1.4.20
>=1.5, <1.6.11
>=1.7, <1.7.7
>=1.8a1, <1.8c1
>=1.8a0, <1.8c1
1.4.20
1.6.11
1.7.7
1.8c1

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.