CVE-2013-6044
python-django - cross-site scripting vulnerability
6.1
MEDIUM
CVSS 3.1
EPSS 4.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.
How to fix CVE-2013-6044
To remediate CVE-2013-6044, upgrade the affected package to a fixed version below.
- —upgrade to 1.5.2-1 or later
- —upgrade to 1.2.3-3+squeeze6 or later
- —upgrade to 1.4.6 or later
- —upgrade to ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a or later
Is CVE-2013-6044 being exploited?
Low — EPSS is 4.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.5.2-1
- from 0, < 1.2.3-3+squeeze6
- >= 1.4, < 1.4.6
- from 0, < ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a, < ae3535169af804352517b7fea94a42a1c9c4b762, < 1a274ccd6bc1afbdac80344c9b6e5810c1162b5f | >= 1.4, < 1.4.6, >= 1.5, < 1.5.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |