CVE-2013-6044 json
Django cross-site scripting (XSS) vulnerability via is_safe_url function
published 13y ago modified 4mo ago also GHSA-9cwg-mhxf-hh59 , PYSEC-2013-21 , EUVD-2013-0009
- cvss
- 6.1
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django 1.4.6, 1.5.2
- python-django Debian 14, Debian 13, Debian 12 1.5.2-1
debian advisories DEBIAN-CVE-2013-6044
- Django14 openstack 3 1.4.8-1.el6ost
red hat advisories RHSA-2013:1521
Is CVE-2013-6044 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-6044 updated cvss 4.3
python-django: xss in is_safe_url function
-
Red Hat Subscription Asset Manager Djangoaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux OpenStack Platform 3.0 Django14 1.4.8-1.el6ostfixed: vendor fix RHSA-2013:1521
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.31% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=1.4, <1.4.6 >=1.5, <1.5.2 |
1.4.6 1.5.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a
web, patch
-
github.com
/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762
web, patch
-
github.com
/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f
web, patch
-
djangoproject.com
/weblog/2013/aug/13/security-releases-issued
web, patch, vendor-advisory, article
-
lists.opensuse.org
/opensuse-updates/2013-10/msg00015.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2013-1521.html
vendor-advisory, web, advisory
-
debian.org
/security/2013/dsa-2740
vendor-advisory, web, advisory
-
secunia.com
/advisories/54476
third-party-advisory, vendor-advisory, advisory
-
securityfocus.com
/bid/61777
vdb-entry, web
-
securitytracker.com
/id/1028915
vdb-entry, web
-
seclists.org
/oss-sec/2013/q3/369
mailing-list, web
-
exchange.xforce.ibmcloud.com
/vulnerabilities/86437
vdb-entry, web
-
seclists.org
/oss-sec/2013/q3/411
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2013-6044
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-21.yaml
web
-
github.com
/advisories/GHSA-9cwg-mhxf-hh59
advisory
Sources
- CVE List CVE-2013-6044
- GitHub Advisory GHSA-9cwg-mhxf-hh59
- NVD CVE-2013-6044
- OSV PYSEC-2013-21
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.