CVE-2015-0220

Django: Mitigated possible XSS attack via user-supplied redirect URLs

Published Jan 16, 2015 CVSS 2.0 · 4.3 Medium EPSS 3.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 4:03 AM
Reserved
Nov 18, 2014, 12:00 AM
Status
Modified
Published
Jan 16, 2015, 4:59 PM
Modified
Jun 17, 2026, 12:19 AM
Severity
Moderate
Public date
Jan 13, 2015, 12:00 AM