{"cve":"CVE-2015-0220","nvd":{"published":"2015-01-16T16:59:19.563","modified":"2026-06-17T00:19:45.307","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-79"],"references":["http://advisories.mageia.org/MGASA-2015-0026.html","http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html","http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html","http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html","http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html"],"products":["canonical:ubuntu_linux","djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T20:35:35.528235705+00:00"},"epss":{"cve":"CVE-2015-0220","score":0.03053,"percentile":0.87579,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gv98-g628-m9x5","url":"https://osv.dev/vulnerability/GHSA-gv98-g628-m9x5","summary":"Django Cross-site Scripting Vulnerability","modified":"2025-02-19T05:37:56.510945Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<1.4.18"],"fixed":["1.4.18"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.6 <1.6.10"],"fixed":["1.6.10"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=1.7 <1.7.3"],"fixed":["1.7.3"]}]},{"id":"PYSEC-2015-5","url":"https://osv.dev/vulnerability/PYSEC-2015-5","summary":"","modified":"2026-06-10T17:01:01.511638044Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<1.4.18",">=1.5 <1.6.10",">=1.7 <1.7.3"],"fixed":["1.4.18","1.6.10","1.7.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}