{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "python-django", "versions": [{"status": "affected", "version": "0", "lessThan": "1.7.1-1.1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python-django-common", "versions": [{"status": "affected", "version": "0", "lessThan": "1.7.1-1.1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python-django-doc", "versions": [{"status": "affected", "version": "0", "lessThan": "1.7.1-1.1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python3-django", "versions": [{"status": "affected", "version": "0", "lessThan": "1.7.1-1.1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2015-0220"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2015-01-29T00:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"unspecified\"}"}}}], "affected": [{"vendor": "fedora", "product": "python-django", "versions": [{"status": "affected", "version": "0", "lessThan": "1.6.10-1.fc21", "versionType": "rpm"}], "platforms": ["cpe:/o:fedoraproject:fedora:21"], "defaultStatus": "unaffected"}], "references": [{"url": "https://bodhi.fedoraproject.org/updates/FEDORA-2015-0714"}], "descriptions": [{"lang": "en", "value": "Django: Mitigated possible XSS attack via user-supplied redirect URLs"}, {"lang": "en", "value": "python-django: Django: Mitigated possible XSS attack via user-supplied redirect URLs"}], "providerMetadata": {"orgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5", "shortName": "fedora", "dateUpdated": "2015-01-26T02:32:39Z", "x_subShortName": "fedora"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"medium\"}"}}}], "affected": [{"vendor": "canonical", "product": "python-django", "versions": [{"status": "affected", "version": "0", "lessThan": "1.6.1-2ubuntu0.6", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}], "references": [{"url": "https://ubuntu.com/security/CVE-2015-0220"}, {"url": "https://ubuntu.com/security/notices/USN-2469-1"}, {"url": "https://www.cve.org/CVERecord?id=CVE-2015-0220"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2015-01-13T00:00:00Z", "x_subShortName": "canonical"}}, {"metrics": [{"cvssV3_1": {"scope": "CHANGED", "version": "3.1", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "LOW"}}, {"cvssV4_0": {"version": "4.0", "baseScore": 5.3, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "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", "userInteraction": "PASSIVE", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "subIntegrityImpact": "LOW", "vulnIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "vulnConfidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "pypi", "product": "django", "versions": [{"status": "affected", "version": "0", "lessThan": "1.4.18", "versionType": "custom"}, {"status": "affected", "version": "1.5", "lessThan": "1.6.10", "versionType": "custom"}, {"status": "affected", "version": "1.6", "lessThan": "1.6.10", "versionType": "custom"}, {"status": "affected", "version": "1.7", "lessThan": "1.7.3", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://advisories.mageia.org/MGASA-2015-0026.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html"}, {"url": "http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html"}, {"url": "http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html"}, {"url": "http://secunia.com/advisories/62285"}, {"url": "http://secunia.com/advisories/62309"}, {"url": "http://secunia.com/advisories/62718"}, {"url": "http://ubuntu.com/usn/usn-2469-1"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:036"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:109"}, {"url": "https://github.com/advisories/GHSA-gv98-g628-m9x5"}, {"url": "https://github.com/django/django"}, {"url": "https://github.com/django/django/blob/4555a823fd57e261e1b19c778429473256c8ea08/docs/releases/1.4.18.txt#L34-L46"}, {"url": "https://github.com/django/django/commit/4c241f1b710da6419d9dca160e80b23b82db7758"}, {"url": "https://github.com/django/django/commit/72e0b033662faa11bb7f516f18a132728aa0ae28"}, {"url": "https://github.com/django/django/commit/de67dedc771ad2edec15c1d00c083a1a084e1e89"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-5.yaml"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2015-0220"}, {"url": "https://web.archive.org/web/20150128111656/http://secunia.com/advisories/62285"}, {"url": "https://web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109"}, {"url": "https://web.archive.org/web/20150523054953/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:036/?name=MDVSA-2015:036"}, {"url": "https://web.archive.org/web/20151104201446/http://secunia.com/advisories/62718"}, {"url": "https://www.djangoproject.com/weblog/2015/jan/13/security"}, {"url": "https://www.djangoproject.com/weblog/2015/jan/13/security/"}], "descriptions": [{"lang": "en", "value": "Django Cross-site Scripting Vulnerability"}, {"lang": "en", "value": "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."}, {"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2015-01-16T16:59:00Z", "x_subShortName": "pypi"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6.1:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6.2:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6.3:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6.4:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6.5:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6.6:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6.7:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6.8:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6.9:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7.1:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7.2:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7:*:*:*:*:*:*:*"], "vendor": "djangoproject", "product": "django", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "1.4.17"}, {"status": "affected", "version": "1.6"}, {"status": "affected", "version": "1.6.1"}, {"status": "affected", "version": "1.6.2"}, {"status": "affected", "version": "1.6.3"}, {"status": "affected", "version": "1.6.4"}, {"status": "affected", "version": "1.6.5"}, {"status": "affected", "version": "1.6.6"}, {"status": "affected", "version": "1.6.7"}, {"status": "affected", "version": "1.6.8"}, {"status": "affected", "version": "1.6.9"}, {"status": "affected", "version": "1.7"}, {"status": "affected", "version": "1.7.1"}, {"status": "affected", "version": "1.7.2"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:canonical:ubuntu_linux:10.04:*:lts:*:*:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:lts:*:*:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*"], "vendor": "canonical", "product": "ubuntu_linux", "versions": [{"status": "affected", "version": "10.04"}, {"status": "affected", "version": "12.04"}, {"status": "affected", "version": "14.04"}, {"status": "affected", "version": "14.10"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://www.djangoproject.com/weblog/2015/jan/13/security/", "tags": ["exploit", "vendor-advisory"]}, {"url": "http://advisories.mageia.org/MGASA-2015-0026.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html"}, {"url": "http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html"}, {"url": "http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html"}, {"url": "http://secunia.com/advisories/62285"}, {"url": "http://secunia.com/advisories/62309"}, {"url": "http://secunia.com/advisories/62718"}, {"url": "http://ubuntu.com/usn/usn-2469-1"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:036"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:109"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "La función django.util.http.is_safe_url en Django anterior a 1.4.18, 1.6.x anterior a 1.6.10, y 1.7.x anterior a 1.7.3 no maneja correctamente los espacios en blanco líder, lo que permite a atacantes remotos realizar ataques de XSS a través de una URL manipulada, relacionado con redirigir URLs, tal y como fue demostrado por una URL '\\njavascript:'."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-79", "description": "CWE-79"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2015-01-16T16:59:19Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2015-0220", "state": "PUBLISHED", "dateUpdated": "2025-04-12T10:46:40Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2015-01-16T16:59:19Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}