{"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:1.9.8-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python-django-common", "versions": [{"status": "affected", "version": "0", "lessThan": "1:1.9.8-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python-django-doc", "versions": [{"status": "affected", "version": "0", "lessThan": "1:1.9.8-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python3-django", "versions": [{"status": "affected", "version": "0", "lessThan": "1:1.9.8-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2016-6186"}], "descriptions": [{"lang": "en", "value": "Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2016-07-18T00: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": "0:1.8.14-1.fc23", "versionType": "rpm"}], "platforms": ["cpe:/o:fedoraproject:fedora:23"], "defaultStatus": "unaffected"}, {"vendor": "fedora", "product": "python-django", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.9.8-1.fc24", "versionType": "rpm"}], "platforms": ["cpe:/o:fedoraproject:fedora:24"], "defaultStatus": "unaffected"}], "references": [{"url": "https://bodhi.fedoraproject.org/updates/FEDORA-2016-97ca9d52a4"}, {"url": "https://bodhi.fedoraproject.org/updates/FEDORA-2016-b7e31a0b9a"}], "descriptions": [{"lang": "en", "value": "python-django: django: XSS in admin's add/change related popup"}], "providerMetadata": {"orgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5", "shortName": "fedora", "dateUpdated": "2016-08-02T14:34:00Z", "x_subShortName": "fedora"}}, {"metrics": [{"cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.0/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"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"medium\"}"}}}], "affected": [{"vendor": "canonical", "product": "python-django", "versions": [{"status": "affected", "version": "0", "lessThan": "1.8.7-1ubuntu5.1", "versionType": "custom"}], "platforms": ["xenial"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "python-django-common", "versions": [{"status": "affected", "version": "0", "lessThan": "1.8.7-1ubuntu5.1", "versionType": "custom"}], "platforms": ["xenial"], "defaultStatus": "unaffected"}, {"vendor": "canonical", "product": "python3-django", "versions": [{"status": "affected", "version": "0", "lessThan": "1.8.7-1ubuntu5.1", "versionType": "custom"}], "platforms": ["xenial"], "defaultStatus": "unaffected"}], "references": [{"url": "https://ubuntu.com/security/CVE-2016-6186"}, {"url": "https://ubuntu.com/security/notices/USN-3039-1"}, {"url": "https://www.cve.org/CVERecord?id=CVE-2016-6186"}], "descriptions": [{"lang": "en", "value": "Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML."}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2016-07-18T00:00:00Z", "x_subShortName": "canonical"}}, {"metrics": [{"cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.0/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": "1.10a0", "lessThan": "1.10rc1", "versionType": "custom"}, {"status": "affected", "version": "1.10a1", "lessThan": "1.10rc1", "versionType": "custom"}, {"status": "affected", "version": "0", "lessThan": "1.8.14", "versionType": "custom"}, {"status": "affected", "version": "1.9", "lessThan": "1.9.8", "versionType": "custom"}, {"status": "affected", "version": "1.9a1"}, {"status": "affected", "version": "1.9b1"}, {"status": "affected", "version": "1.9rc1"}, {"status": "affected", "version": "1.9rc2"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.html"}, {"url": "http://rhn.redhat.com/errata/RHSA-2016-1594.html"}, {"url": "http://rhn.redhat.com/errata/RHSA-2016-1595.html"}, {"url": "http://rhn.redhat.com/errata/RHSA-2016-1596.html"}, {"url": "http://seclists.org/fulldisclosure/2016/Jul/53"}, {"url": "http://www.debian.org/security/2016/dsa-3622"}, {"url": "http://www.securityfocus.com/archive/1/538947/100/0/threaded"}, {"url": "http://www.securityfocus.com/bid/92058"}, {"url": "http://www.securitytracker.com/id/1036338"}, {"url": "http://www.ubuntu.com/usn/USN-3039-1"}, {"url": "http://www.vulnerability-lab.com/get_content.php?id=1869"}, {"url": "https://github.com/advisories/GHSA-c8c8-9472-w52h"}, {"url": "https://github.com/django/django"}, {"url": "https://github.com/django/django/commit/6fa150b2f8b601668083042324c4add534143cb1"}, {"url": "https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158"}, {"url": "https://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-2.yaml"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-6186"}, {"url": "https://web.archive.org/web/20201022155237/http://www.securityfocus.com/archive/1/538947/100/0/threaded"}, {"url": "https://web.archive.org/web/20210123154652/http://www.securityfocus.com/bid/92058"}, {"url": "https://web.archive.org/web/20211204042848/http://www.securitytracker.com/id/1036338"}, {"url": "https://www.djangoproject.com/weblog/2016/jul/18/security-releases"}, {"url": "https://www.djangoproject.com/weblog/2016/jul/18/security-releases/"}, {"url": "https://www.exploit-db.com/exploits/40129"}, {"url": "https://www.exploit-db.com/exploits/40129/"}], "descriptions": [{"lang": "en", "value": "Cross-site scripting (XSS) vulnerability in the `dismissChangeRelatedObjectPopup` function in `contrib/admin/static/admin/js/admin/RelatedObjectLookups.js` in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML."}, {"lang": "en", "value": "Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML."}, {"lang": "en", "value": "Django Cross-site scripting Vulnerability"}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2016-08-05T15: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"}}, {"format": "CVSS", "cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.0/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"}}], "affected": [{"cpes": ["cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.10:alpha1:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.10:beta1:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.9.0:rc1:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.9.1:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.9.2:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.9.3:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.9.4:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.9.5:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.9.6:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.9.7:*:*:*:*:*:*:*", "cpe:2.3:a:djangoproject:django:1.9:*:*:*:*:*:*:*"], "vendor": "djangoproject", "product": "django", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "1.8.13"}, {"status": "affected", "version": "1.10"}, {"status": "affected", "version": "1.9"}, {"status": "affected", "version": "1.9.0"}, {"status": "affected", "version": "1.9.1"}, {"status": "affected", "version": "1.9.2"}, {"status": "affected", "version": "1.9.3"}, {"status": "affected", "version": "1.9.4"}, {"status": "affected", "version": "1.9.5"}, {"status": "affected", "version": "1.9.6"}, {"status": "affected", "version": "1.9.7"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"], "vendor": "debian", "product": "debian_linux", "versions": [{"status": "affected", "version": "8.0"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://seclists.org/fulldisclosure/2016/Jul/53", "tags": ["mailing-list", "patch"]}, {"url": "https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158", "tags": ["patch"]}, {"url": "https://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d", "tags": ["patch"]}, {"url": "http://www.vulnerability-lab.com/get_content.php?id=1869", "tags": ["patch", "third-party-advisory"]}, {"url": "https://www.djangoproject.com/weblog/2016/jul/18/security-releases/", "tags": ["patch", "vendor-advisory"]}, {"url": "http://www.debian.org/security/2016/dsa-3622", "tags": ["third-party-advisory"]}, {"url": "http://www.ubuntu.com/usn/USN-3039-1", "tags": ["third-party-advisory"]}, {"url": "http://packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.html", "tags": ["vdb-entry"]}, {"url": "http://www.securitytracker.com/id/1036338", "tags": ["vdb-entry"]}, {"url": "http://rhn.redhat.com/errata/RHSA-2016-1594.html"}, {"url": "http://rhn.redhat.com/errata/RHSA-2016-1595.html"}, {"url": "http://rhn.redhat.com/errata/RHSA-2016-1596.html"}, {"url": "http://www.securityfocus.com/archive/1/538947/100/0/threaded"}, {"url": "http://www.securityfocus.com/bid/92058"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/"}, {"url": "https://www.exploit-db.com/exploits/40129/"}], "descriptions": [{"lang": "en", "value": "Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1 allows remote attackers to inject arbitrary web script or HTML via vectors involving unsafe usage of Element.innerHTML."}, {"lang": "es", "value": "Vulnerabilidad de XSS en la función dismissChangeRelatedObjectPopup en contrib/admin/static/admin/js/admin/RelatedObjectLookups.js en Django en versiones anteriores a 1.8.14, 1.9.x en versiones anteriores a 1.9.8 y 1.10.x en versiones anteriores a 1.10rc1 permite a atacantes remotos inyectar secuencias de comandos web o HTML arbitrarios a través de vectors relacionados con el uso no seguro de Element.innerHTML."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-79", "description": "CWE-79"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2016-08-05T15:59:09Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2016-6186", "state": "PUBLISHED", "dateUpdated": "2025-04-12T10:46:40Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2016-08-05T15:59:09Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}