Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | squeeze | python-django | Advisory build | 1.2.3-3+squeeze6 | DSA-2740-1 |
| Debian | wheezy | python-django | Advisory build | 1.4.5-1+deb7u1 | DSA-2740-1 |
Description
The is_safe_url function in utils/http.py in Django 1.4.x before 1.4.6, 1.5.x before 1.5.2, and 1.6 before beta 2 treats a URL's scheme as safe even if it is not HTTP or HTTPS, which might introduce cross-site scripting (XSS) or other vulnerabilities into Django applications that use this function, as demonstrated by "the login view in django.contrib.auth.views" and the javascript: scheme.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
13- openSUSE-SU-2013:1541 http://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html
- RHSA-2013:1521 http://rhn.redhat.com/errata/RHSA-2013-1521.html
- [oss-security] 20130814 [CVE request] Django 1.4.6 security release http://seclists.org/oss-sec/2013/q3/369
- [oss-security] 20130819 Re: [CVE request] Django 1.4.6 security release http://seclists.org/oss-sec/2013/q3/411
- 54476 http://secunia.com/advisories/54476
- DSA-2740 http://www.debian.org/security/2013/dsa-2740
- 61777 http://www.securityfocus.com/bid/61777
- 1028915 http://www.securitytracker.com/id/1028915
- django-issafeurl-xss(86437) https://exchange.xforce.ibmcloud.com/vulnerabilities/86437
- https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f
- https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762
- https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a
- https://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6731aab4aeff49c6e4f70d6a11f8c27f625305f68079207a958b085215b4326d
- Ingested
- 23 Sep 2026, 07:39:45 UTC
- Source record
- Official CVE record