{"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.7-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python-django-common", "versions": [{"status": "affected", "version": "0", "lessThan": "1.7.7-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python-django-doc", "versions": [{"status": "affected", "version": "0", "lessThan": "1.7.7-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python3-django", "versions": [{"status": "affected", "version": "0", "lessThan": "1.7.7-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2015-2317"}], "descriptions": [{"lang": "en", "value": "The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \\x08javascript: URL."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2015-03-24T00: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.8-1.fc22", "versionType": "rpm"}], "platforms": ["cpe:/o:fedoraproject:fedora:22"], "defaultStatus": "unaffected"}], "references": [{"url": "https://bodhi.fedoraproject.org/updates/FEDORA-2015-5766"}], "descriptions": [{"lang": "en", "value": "python-django: Django: possible XSS attack via user-supplied redirect URLs"}], "providerMetadata": {"orgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5", "shortName": "fedora", "dateUpdated": "2015-04-21T19:11:17Z", "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.8", "versionType": "custom"}], "platforms": ["trusty"], "defaultStatus": "unaffected"}], "references": [{"url": "https://ubuntu.com/security/CVE-2015-2317"}, {"url": "https://ubuntu.com/security/notices/USN-2539-1"}, {"url": "https://www.cve.org/CVERecord?id=CVE-2015-2317"}], "descriptions": [{"lang": "en", "value": "The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \\x08javascript: URL."}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2015-03-19T00: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.20", "versionType": "custom"}, {"status": "affected", "version": "1.5", "lessThan": "1.6.11", "versionType": "custom"}, {"status": "affected", "version": "1.7", "lessThan": "1.7.7", "versionType": "custom"}, {"status": "affected", "version": "1.8a0", "lessThan": "1.8c1", "versionType": "custom"}, {"status": "affected", "version": "1.8a1", "lessThan": "1.8c1", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.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://ubuntu.com/usn/usn-2539-1"}, {"url": "http://www.debian.org/security/2015/dsa-3204"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:195"}, {"url": "http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html"}, {"url": "http://www.securityfocus.com/bid/73319"}, {"url": "https://github.com/advisories/GHSA-7fq8-4pv5-5w5c"}, {"url": "https://github.com/django/django"}, {"url": "https://github.com/django/django/commit/2342693b31f740a422abf7267c53b4e7bc487c1b"}, {"url": "https://github.com/django/django/commit/2a4113dbd532ce952308992633d802dc169a75f1"}, {"url": "https://github.com/django/django/commit/5510f070711540aaa8d3707776cd77494e688ef9"}, {"url": "https://github.com/django/django/commit/770427c2896a078925abfca2317486b284d22f04"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-9.yaml"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2015-2317"}, {"url": "https://web.archive.org/web/20200228131706/http://www.securityfocus.com/bid/73319"}, {"url": "https://www.djangoproject.com/weblog/2015/mar/18/security-releases"}, {"url": "https://www.djangoproject.com/weblog/2015/mar/18/security-releases/"}], "descriptions": [{"lang": "en", "value": "Django cross-site scripting (XSS) attack via user-supplied redirect URLs"}, {"lang": "en", "value": "The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \\x08javascript: URL."}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2015-03-25T14: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.5.10:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5.11:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5.12:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5.2:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5.3:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5.4:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5.5:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5.6:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5.7:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5.8:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5.9:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5:alpha:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.5:beta:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6.10:*:*:*:*:*:*:*", "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.6:beta1:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6:beta2:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6:beta3:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.6:beta4:*:*:*:*:*:*", "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.3:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7.4:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7.5:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7.6:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7:beta1:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7:beta2:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7:beta3:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7:beta4:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7:rc1:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7:rc2:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.7:rc3:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.8.0:*:*:*:*:*:*:*"], "vendor": "djangoproject", "product": "django", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "1.4.19"}, {"status": "affected", "version": "1.5"}, {"status": "affected", "version": "1.5.1"}, {"status": "affected", "version": "1.5.10"}, {"status": "affected", "version": "1.5.11"}, {"status": "affected", "version": "1.5.12"}, {"status": "affected", "version": "1.5.2"}, {"status": "affected", "version": "1.5.3"}, {"status": "affected", "version": "1.5.4"}, {"status": "affected", "version": "1.5.5"}, {"status": "affected", "version": "1.5.6"}, {"status": "affected", "version": "1.5.7"}, {"status": "affected", "version": "1.5.8"}, {"status": "affected", "version": "1.5.9"}, {"status": "affected", "version": "1.6"}, {"status": "affected", "version": "1.6.1"}, {"status": "affected", "version": "1.6.10"}, {"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"}, {"status": "affected", "version": "1.7.3"}, {"status": "affected", "version": "1.7.4"}, {"status": "affected", "version": "1.7.5"}, {"status": "affected", "version": "1.7.6"}, {"status": "affected", "version": "1.8.0"}], "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"}, {"cpes": ["cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*"], "vendor": "debian", "product": "debian_linux", "versions": [{"status": "affected", "version": "7.0"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*"], "vendor": "fedoraproject", "product": "fedora", "versions": [{"status": "affected", "version": "22"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*"], "vendor": "opensuse", "product": "opensuse", "versions": [{"status": "affected", "version": "13.2"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:oracle:solaris:11.2:*:*:*:*:*:*:*"], "vendor": "oracle", "product": "solaris", "versions": [{"status": "affected", "version": "11.2"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2015:195", "tags": ["broken-link"]}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html", "tags": ["third-party-advisory"]}, {"url": "http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html", "tags": ["third-party-advisory"]}, {"url": "http://ubuntu.com/usn/usn-2539-1", "tags": ["third-party-advisory"]}, {"url": "http://www.debian.org/security/2015/dsa-3204", "tags": ["third-party-advisory"]}, {"url": "http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html", "tags": ["third-party-advisory"]}, {"url": "https://www.djangoproject.com/weblog/2015/mar/18/security-releases/", "tags": ["vendor-advisory"]}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html"}, {"url": "http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html"}, {"url": "http://www.securityfocus.com/bid/73319"}], "descriptions": [{"lang": "en", "value": "The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \\x08javascript: URL."}, {"lang": "es", "value": "La función utils.http.is_safe_url en Django anterior a 1.4.20, 1.5.x, 1.6.x anterior a 1.6.11, 1.7.x anterior a 1.7.7, y 1.8.x anterior a 1.8c1 no valida correctamente las URLs, lo que permite a atacantes remotos realizar ataques de XSS a través de un caracter de control en una URL, tal y como fue demostrado por una URL \\x08javascript."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-79", "description": "CWE-79"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2015-03-25T14:59:04Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2015-2317", "state": "PUBLISHED", "dateUpdated": "2025-04-12T10:46:40Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2015-03-25T14:59:04Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}