VDB
CVE-2015-0220
CVE-2015-0220
PUBLISHED
CVSS 6.099999904632568 MEDIUM
Django Cross-site Scripting Vulnerability
Reported by redhat · Published January 16, 2015
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.
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
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | Django | 0, 1.6, 1.7 |
| n/a | n/a | * |
Timeline
- Jan 16, 2015 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Mar 5, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 5, 2026 Security Advisory (4 in total, the first dated here)
- Oct 16, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-0220
vulnetix vdb fixes CVE-2015-0220
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-0220/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 62718 third-party-advisoryx_refsource_SECUNIA
- FEDORA-2015-0804 vendor-advisoryx_refsource_FEDORA
- USN-2469-1 vendor-advisoryx_refsource_UBUNTU
- MDVSA-2015:036 vendor-advisoryx_refsource_MANDRIVA
- 62285 third-party-advisoryx_refsource_SECUNIA
- openSUSE-SU-2015:1598 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- openSUSE-SU-2015:0643 vendor-advisoryx_refsource_SUSE
- 62309 third-party-advisoryx_refsource_SECUNIA
- MDVSA-2015:109 vendor-advisoryx_refsource_MANDRIVA
- x_refsource_CONFIRM
- FEDORA-2015-0714 vendor-advisoryx_refsource_FEDORA
- https://github.com/django/django/commit/4c241f1b710da6419d9dca160e80b23b82db7758 fix
- https://github.com/django/django/commit/72e0b033662faa11bb7f516f18a132728aa0ae28 fix
- https://github.com/django/django/commit/de67dedc771ad2edec15c1d00c083a1a084e1e89 fix
- https://nvd.nist.gov/vuln/detail/CVE-2015-0220 advisory
- https://github.com/advisories/GHSA-gv98-g628-m9x5 advisory
- https://github.com/django/django url
- https://github.com/django/django/blob/4555a823fd57e261e1b19c778429473256c8ea08/docs/releases/1.4.18.txt#L34-L46 url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-5.yaml advisory
…and 5 more