CVE-2015-0220
Python packages · CVE-2015-0220
The django.util.http.is_safe_url function in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 does not properly handle leading whitespaces, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL, related to redirect URLs, as demonstrated by a "\njavascript:" URL.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.042% · 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-19T16:25:55.090Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | 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:35.468Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:35.468Z | 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://secunia.com/advisories/62718",
"name": "62718",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html",
"name": "FEDORA-2015-0804",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
]
},
{
"url": "http://ubuntu.com/usn/usn-2469-1",
"name": "USN-2469-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
]
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:036",
"name": "MDVSA-2015:036",
"tags": [
"vendor-advisory",
"x_refsource_MANDRIVA",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/62285",
"name": "62285",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"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": "https://www.djangoproject.com/weblog/2015/jan/13/security/",
"tags": [
"x_refsource_CONFIRM",
"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://secunia.com/advisories/62309",
"name": "62309",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:109",
"name": "MDVSA-2015:109",
"tags": [
"vendor-advisory",
"x_refsource_MANDRIVA",
"x_transferred"
]
},
{
"url": "http://advisories.mageia.org/MGASA-2015-0026.html",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html",
"name": "FEDORA-2015-0714",
"tags": [
"vendor-advisory",
"x_refsource_FEDORA",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-06T04:03:10.421Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-gv98-g628-m9x5",
"aliases": [
"CVE-2015-0220",
"PYSEC-2015-5"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.18"
}
]
}
],
"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.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-gv98-g628-m9x5/GHSA-gv98-g628-m9x5.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.6"
},
{
"fixed": "1.6.10"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"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"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gv98-g628-m9x5/GHSA-gv98-g628-m9x5.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.7"
},
{
"fixed": "1.7.3"
}
]
}
],
"package": {
"name": "django",
"purl": "pkg:pypi/django",
"ecosystem": "PyPI"
},
"versions": [
"1.7",
"1.7.1",
"1.7.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gv98-g628-m9x5/GHSA-gv98-g628-m9x5.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-0220",
"type": "ADVISORY"
},
{
"url": "https://github.com/django/django/commit/4c241f1b710da6419d9dca160e80b23b82db7758",
"type": "WEB"
},
{
"url": "https://github.com/django/django/commit/72e0b033662faa11bb7f516f18a132728aa0ae28",
"type": "WEB"
},
{
"url": "https://github.com/django/django/commit/de67dedc771ad2edec15c1d00c083a1a084e1e89",
"type": "WEB"
},
{
"url": "https://github.com/django/django",
"type": "PACKAGE"
},
{
"url": "https://github.com/django/django/blob/4555a823fd57e261e1b19c778429473256c8ea08/docs/releases/1.4.18.txt#L34-L46",
"type": "WEB"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-5.yaml",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20150128111656/http://secunia.com/advisories/62285",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20150523054953/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:036/?name=MDVSA-2015:036",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20151104201446/http://secunia.com/advisories/62718",
"type": "WEB"
},
{
"url": "https://www.djangoproject.com/weblog/2015/jan/13/security",
"type": "WEB"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html",
"type": "WEB"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.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-2469-1",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2015-01-16T16:59:00Z",
"github_reviewed_at": "2023-08-03T21:14:30Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2015-5",
"aliases": [
"CVE-2015-0220",
"GHSA-gv98-g628-m9x5"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.18"
},
{
"introduced": "1.5"
},
{
"fixed": "1.6.10"
},
{
"introduced": "1.7"
},
{
"fixed": "1.7.3"
}
]
}
],
"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.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.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"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2015-5.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "http://secunia.com/advisories/62285",
"type": "ADVISORY"
},
{
"url": "https://www.djangoproject.com/weblog/2015/jan/13/security/",
"type": "ARTICLE"
},
{
"url": "http://secunia.com/advisories/62309",
"type": "ADVISORY"
},
{
"url": "http://ubuntu.com/usn/usn-2469-1",
"type": "WEB"
},
{
"url": "http://secunia.com/advisories/62718",
"type": "ADVISORY"
},
{
"url": "http://advisories.mageia.org/MGASA-2015-0026.html",
"type": "ADVISORY"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:036",
"type": "ADVISORY"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:109",
"type": "ADVISORY"
},
{
"url": "http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html",
"type": "WEB"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html",
"type": "WEB"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-gv98-g628-m9x5",
"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.18 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 1.6.10 | Official record |
| ecosystem-boundary | PyPI / package | django | Not a distribution channel | 1.7.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2022-05-17T03:20:49.000Z
Source modification: 2025-02-19T05:37:56.510ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - OSVConsulted: 2026-11-19T12:52:01.389ZArchived source JSON
Source publication: 2015-01-16T16:59:00.000Z
Source modification: 2026-06-10T17:01:01.511ZDocument fingerprint
5a8be0996fde40ecda7b6ec330977c591c5041d8f88a9054d3364a892c671177 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:54:35.468ZArchived source JSON
Source publication: 2015-01-16T16:00:00.000Z
Source modification: 2024-08-06T04:03:10.421ZDocument fingerprint
9f87b0f493d601190a3791ebe945d841c3109c530b6fea5531590bfa280c4dac - 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