Back

MEDIUM

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

Published Jan 16, 2015

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.

Affected products

Remediation

No remediation recorded yet.

References (27)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Jan 16, 2015
Updated Aug 6, 2024
Reserved Nov 18, 2014
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Jan 13, 2015
ENISA EUVD
Assigner redhat
Published Jan 16, 2015
Updated Aug 6, 2024
Exploited since n/a
EUVD-2015-0014 GHSA-GV98-G628-M9X5