Feed
6.1MEDIUM
CVE-2013-6044Django cross-site scripting (XSS) vulnerability via is_safe_url function
A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 2.3% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.3%
- percentile 84%
- Fix
- Named by a source
- CVE published 4 Oct 2013
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.3% (+2) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- django (PyPI): upgrade to 1.4.6 / 1.5.2 or later on your release line.
- Patch: https://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f
- Patch: https://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762
- Patch: https://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 1.4, < 1.4.6Fixed in1.4.6OSV (PYSEC-2013-21)
- Affected>= 1.5, < 1.5.2Fixed in1.5.2OSV (PYSEC-2013-21)
- Affected1.5c2, 1.5c1, 1.5b2, 1.5b1, 1.5a1, 1.3, 1.2.1, 1.2, 1.1, 1.0Fixed innot namedOSV (PYSEC-2013-21)
Confirmed facts
- CVSS
- 6.1 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-9cwg-mhxf-hh59)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-79
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2013-6044
- patchhttps://github.com/django/django/commit/1a274ccd6bc1afbdac80344c9b6e5810c1162b5f
- patchhttps://github.com/django/django/commit/ae3535169af804352517b7fea94a42a1c9c4b762
- patchhttps://github.com/django/django/commit/ec67af0bd609c412b76eaa4cc89968a2a8e5ad6a
- otherhttps://exchange.xforce.ibmcloud.com/vulnerabilities/86437
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2013-21.yaml
- otherhttps://www.djangoproject.com/weblog/2013/aug/13/security-releases-issued
- otherhttp://lists.opensuse.org/opensuse-updates/2013-10/msg00015.html
- advisoryhttp://rhn.redhat.com/errata/RHSA-2013-1521.html
- otherhttp://seclists.org/oss-sec/2013/q3/369
- otherhttp://seclists.org/oss-sec/2013/q3/411
- advisoryhttp://www.debian.org/security/2013/dsa-2740
- otherhttp://www.securitytracker.com/id/1028915
- otherhttp://www.securityfocus.com/bid/61777
- advisoryhttp://secunia.com/advisories/54476
- advisoryhttps://github.com/advisories/GHSA-9cwg-mhxf-hh59
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-9cwg-mhxf-hh59 (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2013-21 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 28 min ago · osv 28 min ago · nvd 28 min ago · epss 27 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-9cwg-mhxf-hh59, PYSEC-2013-21