Read the docs
TI-2015-00192 Aliases CVE-2015-0220GHSA-gv98-g628-m9x5

The django.util.http.is_safe_url function in Django before 1.4.18, 1.6.x before 1.6.10…

Priority LOW 26CWE-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
Fixed

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

Summary

The django.util.http.is_safe_url function in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 does not properly handle leading whitespaces, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL, related to redirect URLs, as demonstrated by a "\njavascript:" URL.

Why it matters now

EPSS 0.03042 87th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Django (PyPI): 1.4.18, 1.6.10, 1.7.3

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)before 1.4.181.4.18Patch availableGHSA-gv98-g628-m9x5
—Django (PyPI)1.6 to before 1.6.101.6.10Patch availableGHSA-gv98-g628-m9x5
—Django (PyPI)1.7 to before 1.7.31.7.3Patch availableGHSA-gv98-g628-m9x5
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Django (PyPI) Vendor— Affected before 1.4.18 Fixed in 1.4.18 Patch available GHSA-gv98-g628-m9x5
  • Django (PyPI) Vendor— Affected 1.6 to before 1.6.10 Fixed in 1.6.10 Patch available GHSA-gv98-g628-m9x5
  • Django (PyPI) Vendor— Affected 1.7 to before 1.7.3 Fixed in 1.7.3 Patch available GHSA-gv98-g628-m9x5

CPE configurations NVD · 18

CPEVersionsRoleVendor
cpe:2.3:o:canonical:ubuntu_linux:10.04:*:lts:*:*:*:*:*10.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:lts:*:*:*:*:*12.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*14.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*14.10VulnerableCanonical
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*up to 1.4.17Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.6:*:*:*:*:*:*:*1.6Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.6.1:*:*:*:*:*:*:*1.6.1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.6.2:*:*:*:*:*:*:*1.6.2Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.6.3:*:*:*:*:*:*:*1.6.3Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.6.4:*:*:*:*:*:*:*1.6.4Vulnerabledjangoproject
  • cpe:2.3:o:canonical:ubuntu_linux:10.04:*:lts:*:*:*:*:* Versions 10.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:12.04:*:lts:*:*:*:*:* Versions 12.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* Versions 14.10 Vulnerable ·Canonical
  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions up to 1.4.17 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.6:*:*:*:*:*:*:* Versions 1.6 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.6.1:*:*:*:*:*:*:* Versions 1.6.1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.6.2:*:*:*:*:*:*:* Versions 1.6.2 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.6.3:*:*:*:*:*:*:* Versions 1.6.3 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.6.4:*:*:*:*:*:*:* Versions 1.6.4 Vulnerable ·djangoproject
Show 8 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:1.6.5:*:*:*:*:*:*:*1.6.5Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.6.6:*:*:*:*:*:*:*1.6.6Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.6.7:*:*:*:*:*:*:*1.6.7Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.6.8:*:*:*:*:*:*:*1.6.8Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.6.9:*:*:*:*:*:*:*1.6.9Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.7:*:*:*:*:*:*:*1.7Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.7.1:*:*:*:*:*:*:*1.7.1Vulnerabledjangoproject
cpe:2.3:a:djangoproject:django:1.7.2:*:*:*:*:*:*:*1.7.2Vulnerabledjangoproject
  • cpe:2.3:a:djangoproject:django:1.6.5:*:*:*:*:*:*:* Versions 1.6.5 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.6.6:*:*:*:*:*:*:* Versions 1.6.6 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.6.7:*:*:*:*:*:*:* Versions 1.6.7 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.6.8:*:*:*:*:*:*:* Versions 1.6.8 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.6.9:*:*:*:*:*:*:* Versions 1.6.9 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.7:*:*:*:*:*:*:* Versions 1.7 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.7.1:*:*:*:*:*:*:* Versions 1.7.1 Vulnerable ·djangoproject
  • cpe:2.3:a:djangoproject:django:1.7.2:*:*:*:*:*:*:* Versions 1.7.2 Vulnerable ·djangoproject

Remediation

  • Fix · GHSA-gv98-g628-m9x5 Django (PyPI) Fixed in 1.4.18 Advisory →
  • Fix · GHSA-gv98-g628-m9x5 Django (PyPI) Fixed in 1.6.10 Advisory →
  • Fix · GHSA-gv98-g628-m9x5 Django (PyPI) Fixed in 1.7.3 Advisory →

Vendor assessments

Red Hat

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

Not affected: 4 products
  • Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)
  • Red Hat Enterprise Linux OpenStack Platform 6 (Juno)
  • Red Hat OpenStack Platform 4
  • Red Hat Subscription Asset Manager

Timeline

  1. 2026-10-02 Threatist record created from CVE-2015-0220
  2. 2026-10-03 Alias added: GHSA-gv98-g628-m9x5

References

Sources