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.
Published: 2015-01-16
Score: 4.3 Medium
EPSS: 2.2% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-143-1 python-django security update
Debian DSA Debian DSA DSA-3151-1 python-django security update
EUVD EUVD EUVD-2015-0014 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.
Github GHSA Github GHSA GHSA-gv98-g628-m9x5 Django Cross-site Scripting Vulnerability
Ubuntu USN Ubuntu USN USN-2469-1 Django vulnerabilities
History

No history.

Subscriptions

Canonical Ubuntu Linux
Djangoproject Django
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-06T04:03:10.421Z

Reserved: 2014-11-18T00:00:00.000Z

Link: CVE-2015-0220

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2015-01-16T16:59:19.563

Modified: 2026-05-06T22:30:45.220

Link: CVE-2015-0220

cve-icon Redhat

Severity : Moderate

Publid Date: 2015-01-13T00:00:00Z

Links: CVE-2015-0220 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses