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.

Project Subscriptions

Vendors Products
Canonical Subscribe
Ubuntu Linux Subscribe
Debian Linux Subscribe
Djangoproject Subscribe
Fedoraproject Subscribe
Opensuse Subscribe
Opensuse Subscribe
Solaris Subscribe
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T05:10:16.267Z

Reserved: 2015-03-17T00:00:00

Link: CVE-2015-2317

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2015-03-25T14:59:04.377

Modified: 2025-04-12T10:46:40.837

Link: CVE-2015-2317

cve-icon Redhat

Severity : Low

Publid Date: 2015-03-18T00:00:00Z

Links: CVE-2015-2317 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses