CVE-2015-2317
Python packages · CVE-2015-2317
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 4.990% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:21.914Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:01.389Z | OSV |
| affected | verified | 2026-11-19T12:54:37.721Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:37.721Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "http://ubuntu.com/usn/usn-2539-1",
"name": "USN-2539-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/bid/73319",
"name": "73319",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
]
},
{
"url": "http://www.debian.org/security/2015/dsa-3204",
"name": "DSA-3204",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html",
"name": "FEDORA-2015-5766",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
]
},
{
"url": "http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html",
"name": "openSUSE-SU-2015:1598",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
},
{
"url": "http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:195",
"name": "MDVSA-2015:195",
"tags": [
"vendor-advisory",
"x_refsource_MANDRIVA",
"x_transferred"
]
},
{
"url": "http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html",
"name": "openSUSE-SU-2015:0643",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html",
"name": "FEDORA-2015-9604",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
]
},
{
"url": "https://www.djangoproject.com/weblog/2015/mar/18/security-releases/",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-06T05:10:16.267Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-7fq8-4pv5-5w5c",
"aliases": [
"CVE-2015-2317",
"PYSEC-2015-9"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.20"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"1.0.1",
"1.0.2",
"1.0.3",
"1.0.4",
"1.1",
"1.1.1",
"1.1.2",
"1.1.3",
"1.1.4",
"1.2",
"1.2.1",
"1.2.2",
"1.2.3",
"1.2.4",
"1.2.5",
"1.2.6",
"1.2.7",
"1.3",
"1.3.1",
"1.3.2",
"1.3.3",
"1.3.4",
"1.3.5",
"1.3.6",
"1.3.7",
"1.4",
"1.4.1",
"1.4.10",
"1.4.11",
"1.4.12",
"1.4.13",
"1.4.14",
"1.4.15",
"1.4.16",
"1.4.17",
"1.4.18",
"1.4.19",
"1.4.2",
"1.4.3",
"1.4.4",
"1.4.5",
"1.4.6",
"1.4.7",
"1.4.8",
"1.4.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7fq8-4pv5-5w5c/GHSA-7fq8-4pv5-5w5c.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.5"
},
{
"fixed": "1.6.11"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"1.5",
"1.5.1",
"1.5.10",
"1.5.11",
"1.5.12",
"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.6",
"1.6.1",
"1.6.10",
"1.6.2",
"1.6.3",
"1.6.4",
"1.6.5",
"1.6.6",
"1.6.7",
"1.6.8",
"1.6.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7fq8-4pv5-5w5c/GHSA-7fq8-4pv5-5w5c.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.7"
},
{
"fixed": "1.7.7"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"1.7",
"1.7.1",
"1.7.2",
"1.7.3",
"1.7.4",
"1.7.5",
"1.7.6"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7fq8-4pv5-5w5c/GHSA-7fq8-4pv5-5w5c.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.8a1"
},
{
"fixed": "1.8c1"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"1.8a1",
"1.8b1",
"1.8b2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7fq8-4pv5-5w5c/GHSA-7fq8-4pv5-5w5c.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2015-2317",
"type": "ADVISORY"
},
{
"url": "https://github.com/django/django/commit/2342693b31f740a422abf7267c53b4e7bc487c1b",
"type": "WEB"
},
{
"url": "https://github.com/django/django/commit/2a4113dbd532ce952308992633d802dc169a75f1",
"type": "WEB"
},
{
"url": "https://github.com/django/django/commit/5510f070711540aaa8d3707776cd77494e688ef9",
"type": "WEB"
},
{
"url": "https://github.com/django/django/commit/770427c2896a078925abfca2317486b284d22f04",
"type": "WEB"
},
{
"url": "https://github.com/django/django",
"type": "PACKAGE"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-9.yaml",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20200228131706/http://www.securityfocus.com/bid/73319",
"type": "WEB"
},
{
"url": "https://www.djangoproject.com/weblog/2015/mar/18/security-releases",
"type": "WEB"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html",
"type": "WEB"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html",
"type": "WEB"
},
{
"url": "http://ubuntu.com/usn/usn-2539-1",
"type": "WEB"
},
{
"url": "http://www.debian.org/security/2015/dsa-3204",
"type": "WEB"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:195",
"type": "WEB"
},
{
"url": "http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2015-03-25T14:59:00Z",
"github_reviewed_at": "2024-04-29T12:01:27Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2015-9",
"aliases": [
"CVE-2015-2317",
"GHSA-7fq8-4pv5-5w5c"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.20"
},
{
"introduced": "1.5"
},
{
"fixed": "1.6.11"
},
{
"introduced": "1.7"
},
{
"fixed": "1.7.7"
},
{
"introduced": "1.8a0"
},
{
"fixed": "1.8c1"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"1.0.1",
"1.0.2",
"1.0.3",
"1.0.4",
"1.1",
"1.1.1",
"1.1.2",
"1.1.3",
"1.1.4",
"1.2",
"1.2.1",
"1.2.2",
"1.2.3",
"1.2.4",
"1.2.5",
"1.2.6",
"1.2.7",
"1.3",
"1.3.1",
"1.3.2",
"1.3.3",
"1.3.4",
"1.3.5",
"1.3.6",
"1.3.7",
"1.4",
"1.4.1",
"1.4.10",
"1.4.11",
"1.4.12",
"1.4.13",
"1.4.14",
"1.4.15",
"1.4.16",
"1.4.17",
"1.4.18",
"1.4.19",
"1.4.2",
"1.4.3",
"1.4.4",
"1.4.5",
"1.4.6",
"1.4.7",
"1.4.8",
"1.4.9",
"1.5",
"1.5.1",
"1.5.10",
"1.5.11",
"1.5.12",
"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.6",
"1.6.1",
"1.6.10",
"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.7",
"1.7.1",
"1.7.2",
"1.7.3",
"1.7.4",
"1.7.5",
"1.7.6",
"1.8a1",
"1.8b1",
"1.8b2"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2015-9.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "http://ubuntu.com/usn/usn-2539-1",
"type": "WEB"
},
{
"url": "https://www.djangoproject.com/weblog/2015/mar/18/security-releases/",
"type": "ARTICLE"
},
{
"url": "http://www.debian.org/security/2015/dsa-3204",
"type": "ADVISORY"
},
{
"url": "http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html",
"type": "WEB"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:195",
"type": "ADVISORY"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html",
"type": "WEB"
},
{
"url": "http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html",
"type": "WEB"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html",
"type": "WEB"
},
{
"url": "http://www.securityfocus.com/bid/73319",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-7fq8-4pv5-5w5c",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 1.4.20 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 1.6.11 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 1.7.7 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 1.8c1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2022-05-14T02:06:51.000Z
Source modification: 2024-09-18T16:08:07.646ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2015-03-25T14:59:00.000Z
Source modification: 2026-06-10T17:01:00.424ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - CVE ProgramConsulted: 2026-11-19T12:54:37.721ZArchived source JSON
Source publication: 2015-03-25T14:00:00.000Z
Source modification: 2024-08-06T05:10:16.267ZDocument fingerprint
4e07958f0d202eef326b6b7b998fac55062e867a19d66b0f2d962e8f4b32b29a - FIRST EPSSConsulted: 2026-11-19T16:04:21.914ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
5f3ba1782eb58d88110774d3148c474cd65deb4235c1a4a79115f2e26c2a59ce
Official status history
- UNKNOWN → PUBLISHED · · evidence