{"id":"CVE-2016-6186","aliases":["GHSA-c8c8-9472-w52h","PYSEC-2016-2"],"url":"https://o3.security/vulnerability/CVE-2016-6186","summary":"Django Cross-site scripting Vulnerability","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.","published":"2016-08-05T15:59:09.503Z","modified":"2026-07-08T05:49:57.856808824Z","cvss":{"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"},"epss":{"score":0.05581,"percentile":0.92365,"asOf":"2026-09-07"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"1.8.14"},{"ecosystem":"PyPI","name":"django","fixedVersion":"1.9.8"},{"ecosystem":"PyPI","name":"django","fixedVersion":"1.10rc1"}],"fix":{"url":"https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158","label":"django/django@d03bf6f"},"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/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:49:57.856808824Z"}}