{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2015-0220","published":"2015-01-16T16:59:19.563000Z","last_modified":"2026-06-17T00:19:45.307000Z","status":"Modified","cvss":{"version":"2.0","score":4.3,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:10.04:*:lts:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"10.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:lts:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"12.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"14.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"14.10"},{"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version_end_including":"1.4.17"},{"criteria":"cpe:2.3:a:djangoproject:django:1.6:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.6"},{"criteria":"cpe:2.3:a:djangoproject:django:1.6.1:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.6.1"},{"criteria":"cpe:2.3:a:djangoproject:django:1.6.2:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.6.2"},{"criteria":"cpe:2.3:a:djangoproject:django:1.6.3:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.6.3"},{"criteria":"cpe:2.3:a:djangoproject:django:1.6.4:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.6.4"},{"criteria":"cpe:2.3:a:djangoproject:django:1.6.5:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.6.5"},{"criteria":"cpe:2.3:a:djangoproject:django:1.6.6:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.6.6"},{"criteria":"cpe:2.3:a:djangoproject:django:1.6.7:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.6.7"},{"criteria":"cpe:2.3:a:djangoproject:django:1.6.8:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.6.8"},{"criteria":"cpe:2.3:a:djangoproject:django:1.6.9:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.6.9"},{"criteria":"cpe:2.3:a:djangoproject:django:1.7:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.7"},{"criteria":"cpe:2.3:a:djangoproject:django:1.7.1:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.7.1"},{"criteria":"cpe:2.3:a:djangoproject:django:1.7.2:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.7.2"}],"cpes_truncated":false,"vendors":["canonical","djangoproject"],"products":["canonical/ubuntu_linux","djangoproject/django"],"epss":{"score":0.03042,"percentile":0.88275,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[{"advisory":"GHSA-gv98-g628-m9x5","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"0","fixed":"1.4.18"}],"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"],"versions_truncated":false},{"advisory":"GHSA-gv98-g628-m9x5","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"1.6","fixed":"1.6.10"}],"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"],"versions_truncated":false},{"advisory":"GHSA-gv98-g628-m9x5","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"1.7","fixed":"1.7.3"}],"versions":["1.7","1.7.1","1.7.2"],"versions_truncated":false},{"advisory":"PYSEC-2015-5","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"0","fixed":"1.4.18"},{"introduced":"1.5","fixed":"1.6.10"},{"introduced":"1.7","fixed":"1.7.3"}],"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"],"versions_truncated":false}],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2015-0220/","html_en":"/en/cve/CVE-2015-0220/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-0220","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-0220"},"untrusted":{"vendor_name":"Canonical","product_name":"Ubuntu Linux","desc_en":"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.","affected":[],"references":[{"url":"http://advisories.mageia.org/MGASA-2015-0026.html","tags":[]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html","tags":[]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html","tags":[]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html","tags":[]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html","tags":[]},{"url":"http://secunia.com/advisories/62285","tags":[]},{"url":"http://secunia.com/advisories/62309","tags":[]},{"url":"http://secunia.com/advisories/62718","tags":[]},{"url":"http://ubuntu.com/usn/usn-2469-1","tags":[]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:036","tags":[]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:109","tags":[]},{"url":"https://www.djangoproject.com/weblog/2015/jan/13/security/","tags":["Exploit","Vendor Advisory"]}]}}