cve.bz

CVE-2015-0220 Cross-site Scripting

no score yetExploit referenceEPSS 3.0%Fix available

No CVSS score yet. EPSS 3.0% estimated probability of exploitation activity in the next 30 days. Fixed in django 1.4.18, 1.6.10, 1.7.3.

On this page
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.
EPSS
3.0% (unchanged from 3.0% a week ago; 3.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-0220 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-0220?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-0220?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-0220 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
canonical:ubuntu_linux10.04
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux14.10
djangoproject:djangothrough 1.4.17
djangoproject:django1.6
djangoproject:django1.6.1
djangoproject:django1.6.2
djangoproject:django1.6.3
djangoproject:django1.6.4
djangoproject:django1.6.5
djangoproject:django1.6.6
djangoproject:django1.6.7
djangoproject:django1.6.8
djangoproject:django1.6.9
djangoproject:django1.7
djangoproject:django1.7.1
djangoproject:django1.7.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gv98-g628-m9x5PyPIdjango<1.4.181.4.18
GHSA-gv98-g628-m9x5PyPIdjango>=1.6 <1.6.101.6.10
GHSA-gv98-g628-m9x5PyPIdjango>=1.7 <1.7.31.7.3
PYSEC-2015-5PyPIdjango<1.4.18
>=1.5 <1.6.10
>=1.7 <1.7.3
1.4.18, 1.6.10, 1.7.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0python-django1.2.3-3+squeeze12DLA-143-1
Debian7python-django1.4.5-1+deb7u9DSA-3151-1
Debian12, 13, 14python-django1.7.1-1.1DEBIAN-CVE-2015-0220
Ubuntu14.04:LTSpython-django1.6.1-2ubuntu0.6UBUNTU-CVE-2015-0220 USN-2469-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)python-djangoNot affected
Red Hat Enterprise Linux OpenStack Platform 6 (Juno)python-djangoNot affected
Red Hat OpenStack Platform 4Django14Not affected
Red Hat Subscription Asset ManagerDjangoNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-0220.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON