Security mailing lists by PureSourceCode

CVE-2013-6044

MEDIUM 4.3CVSS 2.0

Django cross-site scripting (XSS) vulnerability via is_safe_url function

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.

Published
4 Oct 2013
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-9cwg-mhxf-hh59PYSEC-2013-21
Sources
NVDJSONOSV GHSA-9cwg-mhxf-hh59JSONOSV PYSEC-2013-21JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub 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 GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*
= 1.4
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:*
= 1.4.1
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.4.2:*:*:*:*:*:*:*
= 1.4.2
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.4.4:*:*:*:*:*:*:*
= 1.4.4
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.4.5:*:*:*:*:*:*:*
= 1.4.5
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:*
= 1.5
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:*
= 1.5.1
NVD djangoproject django
cpe:2.3:a:djangoproject:django:1.6:beta1:*:*:*:*:*:*
= 1.6
OSV PyPI django >= 1.4, < 1.4.6 1.4.6
OSV PyPI django >= 1.5, < 1.5.2 1.5.2
OSV PyPI django >= 1.4, < 1.4.6; >= 1.5, < 1.5.2 1.4.6, 1.5.2

References

History

  • 25 Nov 2026 20:17 UTC · NVD: first stored (published 4 Oct 2013)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Oct 2013)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.