CVE-2015-0220
Django Cross-site Scripting Vulnerability
6.1
MEDIUM
CVSS 3.1
EPSS 2.2%
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.
How to fix CVE-2015-0220
To remediate CVE-2015-0220, upgrade the affected package to a fixed version below.
- —upgrade to 1.7.1-1.1 or later
- —upgrade to 1.4.18 or later
- —upgrade to 1.4.18 or later
Is CVE-2015-0220 being exploited?
Low — EPSS is 2.2%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 1.7.1-1.1
- from 0, < 1.4.18
- from 0, < 1.4.18, >= 1.5, < 1.6.10, >= 1.7, < 1.7.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |