{"id":"CVE-2016-6186","details":"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.","aliases":["GHSA-c8c8-9472-w52h","PYSEC-2016-2"],"modified":"2026-05-17T11:54:41.200778111Z","published":"2016-08-05T15:59:09.503Z","database_specific":{"unresolved_ranges":[{"source":"CPE_FIELD","vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"],"extracted_events":[{"last_affected":"8.0"}]},{"cpes":["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:*:*:*:*:*:*"],"extracted_events":[{"last_affected":"1.9.0-rc1"},{"last_affected":"1.10-alpha1"},{"last_affected":"1.10-beta1"}],"source":"CPE_FIELD","vendor_product":"djangoproject:django"}]},"references":[{"type":"WEB","url":"http://www.securityfocus.com/archive/1/538947/100/0/threaded"},{"type":"WEB","url":"http://www.securityfocus.com/bid/92058"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/40129/"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-1594.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-1595.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-1596.html"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3622"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1036338"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3039-1"},{"type":"FIX","url":"http://seclists.org/fulldisclosure/2016/Jul/53"},{"type":"FIX","url":"http://www.vulnerability-lab.com/get_content.php?id=1869"},{"type":"FIX","url":"https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158"},{"type":"FIX","url":"https://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d"},{"type":"FIX","url":"https://www.djangoproject.com/weblog/2016/jul/18/security-releases/"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}