{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2016-6186","published":"2016-08-05T15:59:09.503000Z","last_modified":"2026-06-17T00:50:36.107000Z","status":"Modified","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"8.0"},{"criteria":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version_end_including":"1.8.13"},{"criteria":"cpe:2.3:a:djangoproject:django:1.9:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.9"},{"criteria":"cpe:2.3:a:djangoproject:django:1.9.0:rc1:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.9.0"},{"criteria":"cpe:2.3:a:djangoproject:django:1.9.1:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.9.1"},{"criteria":"cpe:2.3:a:djangoproject:django:1.9.2:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.9.2"},{"criteria":"cpe:2.3:a:djangoproject:django:1.9.3:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.9.3"},{"criteria":"cpe:2.3:a:djangoproject:django:1.9.4:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.9.4"},{"criteria":"cpe:2.3:a:djangoproject:django:1.9.5:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.9.5"},{"criteria":"cpe:2.3:a:djangoproject:django:1.9.6:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.9.6"},{"criteria":"cpe:2.3:a:djangoproject:django:1.9.7:*:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.9.7"},{"criteria":"cpe:2.3:a:djangoproject:django:1.10:alpha1:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.10"},{"criteria":"cpe:2.3:a:djangoproject:django:1.10:beta1:*:*:*:*:*:*","part":"a","vendor":"djangoproject","product":"django","version":"1.10"}],"cpes_truncated":false,"vendors":["debian","djangoproject"],"products":["debian/debian_linux","djangoproject/django"],"epss":{"score":0.05536,"percentile":0.93606,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[{"advisory":"GHSA-c8c8-9472-w52h","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"0","fixed":"1.8.14"}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.3","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4","1.4.1","1.4.10","1.4.11","1.4.12","1.4.13","1.4.14","1.4.15","1.4.16","1.4.17","1.4.18","1.4.19","1.4.2","1.4.20","1.4.21","1.4.22","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9","1.5","1.5.1","1.5.10","1.5.11","1.5.12","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.5.9","1.6","1.6.1","1.6.10","1.6.11","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.7","1.7.1","1.7.10","1.7.11","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9","1.8","1.8.1","1.8.10","1.8.11","1.8.12","1.8.13","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8","1.8.9","1.8a1","1.8b1","1.8b2","1.8c1"],"versions_truncated":false},{"advisory":"GHSA-c8c8-9472-w52h","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"1.9","fixed":"1.9.8"}],"versions":["1.9","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7"],"versions_truncated":false},{"advisory":"GHSA-c8c8-9472-w52h","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"1.10a1","fixed":"1.10rc1"}],"versions":["1.10a1","1.10b1"],"versions_truncated":false},{"advisory":"PYSEC-2016-2","ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[{"introduced":"0","fixed":"1.8.14"},{"introduced":"1.9","fixed":"1.9.8"},{"introduced":"1.10a0","fixed":"1.10rc1"}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.10a1","1.10b1","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.3","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4","1.4.1","1.4.10","1.4.11","1.4.12","1.4.13","1.4.14","1.4.15","1.4.16","1.4.17","1.4.18","1.4.19","1.4.2","1.4.20","1.4.21","1.4.22","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9","1.5","1.5.1","1.5.10","1.5.11","1.5.12","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.5.9","1.6","1.6.1","1.6.10","1.6.11","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.7","1.7.1","1.7.10","1.7.11","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9","1.8","1.8.1","1.8.10","1.8.11","1.8.12","1.8.13","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8","1.8.9","1.8a1","1.8b1","1.8b2","1.8c1","1.9","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7","1.9rc2","1.9rc1","1.9b1","1.9a1","1.7a2","1.0"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2016-6186/","html_en":"/en/cve/CVE-2016-6186/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-6186","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-6186"},"untrusted":{"vendor_name":"Debian","product_name":"Debian Linux","desc_en":"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.","affected":[],"references":[{"url":"http://packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.html","tags":["VDB Entry"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1594.html","tags":[]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1595.html","tags":[]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1596.html","tags":[]},{"url":"http://seclists.org/fulldisclosure/2016/Jul/53","tags":["Mailing List","Patch"]},{"url":"http://www.debian.org/security/2016/dsa-3622","tags":["Third Party Advisory"]},{"url":"http://www.securityfocus.com/archive/1/538947/100/0/threaded","tags":[]},{"url":"http://www.securityfocus.com/bid/92058","tags":[]},{"url":"http://www.securitytracker.com/id/1036338","tags":["VDB Entry"]},{"url":"http://www.ubuntu.com/usn/USN-3039-1","tags":["Third Party Advisory"]},{"url":"http://www.vulnerability-lab.com/get_content.php?id=1869","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158","tags":["Patch"]},{"url":"https://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d","tags":["Patch"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/","tags":[]},{"url":"https://www.djangoproject.com/weblog/2016/jul/18/security-releases/","tags":["Patch","Vendor Advisory"]},{"url":"https://www.exploit-db.com/exploits/40129/","tags":[]}]}}