CVE-2015-2317

Django: possible XSS attack via user-supplied redirect URLs

Published Mar 25, 2015 CVSS 2.0 · 4.3 Medium EPSS 5.0% KEV · Not listed
Description
The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \x08javascript: URL.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-272-1 python-django security update
Debian DSA Debian DSA DSA-3204-1 python-django security update
EUVD EUVD EUVD-2015-0018 The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \\x08javascript: URL.
Github GHSA Github GHSA GHSA-7fq8-4pv5-5w5c Django cross-site scripting (XSS) attack via user-supplied redirect URLs
Ubuntu USN Ubuntu USN USN-2539-1 Django vulnerabilities
History

No history.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 5:10 AM
Reserved
Mar 17, 2015, 12:00 AM
Status
Modified
Published
Mar 25, 2015, 2:59 PM
Modified
Jun 17, 2026, 12:23 AM
Severity
Low
Public date
Mar 18, 2015, 12:00 AM