Skip to content
Fencer Intel
medium 6.1

CVE-2015-0220 json

Django Cross-site Scripting Vulnerability

published 11y ago modified 4mo ago also GHSA-gv98-g628-m9x5 , PYSEC-2015-5 , EUVD-2015-0014

cvss
6.1
version 3.1, GitHub
cisa kev
Not listed
not in CISA's catalog
epss
3.0%
EPSS 3.0% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

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.

Patch / fix

  • pypi django 1.4.18, 1.6.10, 1.7.3
  • python-django Debian 14, Debian 13, Debian 12 1.7.1-1.1

debian advisories DEBIAN-CVE-2015-0220

  • python-django Ubuntu 14.04 LTS 1.6.1-2ubuntu0.6

ubuntu advisories UBUNTU-CVE-2015-0220

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2015-0220 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-0220 updated cvss 4.3

Django: Mitigated possible XSS attack via user-supplied redirect URLs

  • Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) python-django Red Hat Enterprise Linux OpenStack Platform 6 (Juno) python-django Red Hat OpenStack Platform 4 Django14 Red Hat Subscription Asset Manager Django
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.04% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • djangoproject.com https://www.djangoproject.com/weblog/2015/jan/13/security/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
pypi django
<1.4.18
>=1.6, <1.6.10
>=1.7, <1.7.3
>=1.5, <1.6.10
1.4.18
1.6.10
1.7.3

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.