VDB

CVE-2015-2317

CVE-2015-2317 PUBLISHED CVSS 6.099999904632568 MEDIUM

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

Reported by mitre · Published March 25, 2015

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
djangodjangoproject1.4.19

Risk scores

CVSS 3.1
6.099999904632568
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
PyPIDjango0, 1.5, 1.7

Timeline

  • Mar 25, 2015 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Sep 18, 2024 CVE Updated
  • Mar 5, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 5, 2026 Security Advisory (5 in total, the first dated here)
  • Oct 15, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2015-2317
vulnetix vdb fixes CVE-2015-2317

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-2317/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›