Read the docs
TI-2013-05154 Aliases CVE-2013-6044GHSA-9cwg-mhxf-hh59

The is_safe_url function in utils/http.py in Django 1.4.x before 1.4.6, 1.5.x before…

Priority LOW 24CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · Partial · None
Fix status
Partial Red Hat: 1 fixed, 1 without a fix

Attack profile from CVSS 2.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

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.

Why it matters now

EPSS 0.02307 83rd percentileScored 2026-11-07
Fix Partial Django (PyPI): 1.4.6, 1.5.2Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Django (PyPI)1.4 to before 1.4.61.4.6Patch availableGHSA-9cwg-mhxf-hh59
—Django (PyPI)1.5 to before 1.5.21.5.2Patch availableGHSA-9cwg-mhxf-hh59
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Django (PyPI) Vendor— Affected 1.4 to before 1.4.6 Fixed in 1.4.6 Patch available GHSA-9cwg-mhxf-hh59
  • Django (PyPI) Vendor— Affected 1.5 to before 1.5.2 Fixed in 1.5.2 Patch available GHSA-9cwg-mhxf-hh59

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*1.4Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:*1.4.1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.4.2:*:*:*:*:*:*:*1.4.2Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.4.4:*:*:*:*:*:*:*1.4.4Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.4.5:*:*:*:*:*:*:*1.4.5Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:*1.5Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:*1.5.1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.6:beta1:*:*:*:*:*:*1.6 beta1Vulnerabledjangoproject
  • cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:* Versions 1.4 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:* Versions 1.4.1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.4.2:*:*:*:*:*:*:* Versions 1.4.2 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.4.4:*:*:*:*:*:*:* Versions 1.4.4 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.4.5:*:*:*:*:*:*:* Versions 1.4.5 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:* Versions 1.5 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:* Versions 1.5.1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.6:beta1:*:*:*:*:*:* Versions 1.6 beta1 Vulnerable ·djangoproject

Remediation

  • Fix · GHSA-9cwg-mhxf-hh59 Django (PyPI) Fixed in 1.4.6 Advisory →
  • Fix · GHSA-9cwg-mhxf-hh59 Django (PyPI) Fixed in 1.5.2 Advisory →

Red Hat 1 advisory

  • RHSA-2013:1521 Released 2013-11-14 · Red Hat rating Moderate
    python-django security update
    • Red Hat Enterprise Linux OpenStack Platform 3.0 Django14-1.4.8-1.el6ost, Django14-doc-1.4.8-1.el6ost

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Subscription Asset ManagerAffectedNo fix planned: Will not fix
Red Hat Enterprise Linux OpenStack Platform 3.0Fixed RHSA-2013:1521

Timeline

  1. 2026-10-02 Threatist record created from CVE-2013-6044
  2. 2026-10-03 Alias added: GHSA-9cwg-mhxf-hh59

References

  • TI-2022-15177 An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. CVSS 3.1CRITICAL 9.8
  • TI-2020-05994 Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection… CVSS 3.1CRITICAL 9.8
  • TI-2023-10198 An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0… CVSS 3.1HIGH 7.5
  • TI-2019-14306 Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. CVSS 3.1CRITICAL 9.8
  • TI-2019-10595 An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x… CVSS 3.0CRITICAL 9.8
  • TI-2021-14006 Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection… CVSS 3.1CRITICAL 9.8
See all 156 →

Sources