{"id":"CVE-2016-6186","published":"2016-08-05T15:00:00Z","modified":"2024-08-06T01:22:20Z","title":"Cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function in…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05536,"percentile":0.93015,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securitytracker.com/id/1036338","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://seclists.org/fulldisclosure/2016/Jul/53","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1594.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.debian.org/security/2016/dsa-3622","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.vulnerability-lab.com/get_content.php?id=1869","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/archive/1/538947/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.html","tags":["x_refsource_MISC"]},{"url":"http://www.ubuntu.com/usn/USN-3039-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1596.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.djangoproject.com/weblog/2016/jul/18/security-releases/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/92058","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1595.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.exploit-db.com/exploits/40129/","tags":["exploit","x_refsource_EXPLOIT-DB"]}],"priority":{"score":23.6,"factors":[{"name":"EPSS percentile","points":18.6},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2016-07-20"},"first":{"date":"2016-07-20","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/40129"},"provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":["<1.8.14",">=1.9, <1.9.8",">=1.10a1, <1.10rc1",">=1.10a0, <1.10rc1"],"patched":["1.8.14","1.9.8","1.10rc1"],"from":["GHSA-c8c8-9472-w52h","PYSEC-2016-2"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting (XSS) vulnerability in the dismissChangeRelatedObjectPopup function within contrib/admin/static/admin/js/admin/RelatedObjectLookups.js in Django's admin component. An attacker can inject arbitrary web script or HTML through vectors involving unsafe use of Element.innerHTML, affecting Django versions before 1.8.14, 1.9.x before 1.9.8, and 1.10.x before 1.10rc1.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:04:50Z"},"euvd":{"id":"EUVD-2016-0008","exploited":false,"provenance":"source"},"exploits":[{"id":40129,"url":"https://www.exploit-db.com/exploits/40129","title":"Django CMS 3.3.0 - Editor Snippet Persistent Cross-Site Scripting","date":"2016-07-20","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/40129/","http://packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.html","https://www.exploit-db.com/exploits/40129"],"lineage":{"familyId":"fam-django-cve-2016-6186","children":[{"from":"CVE-2016-6186","to":"CVE-2017-12794","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["django/views/debug.py"],"commits":["https://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d","https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158","https://github.com/django/django/commit/58e08e80e362db79eb0fd775dc81faad90dca47a","https://github.com/django/django/commit/e35a0c56086924f331e9422daa266e907a4784cc"],"basis":"shared function","functions":["default_urlconf"]}]}],"packageHistory":[{"cve":"CVE-2016-2512","published":"2016-04-08","fixed":"1.9.3","kev":false,"link":{"from":"CVE-2016-2512","to":"CVE-2016-6186","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"1.8.10","toFixed":"1.8.14","daysApart":119}]}},{"cve":"CVE-2016-2513","published":"2016-04-08","fixed":"1.9.3","kev":false},{"cve":"CVE-2016-7401","published":"2016-10-03","fixed":"1.9.10","kev":false,"link":{"from":"CVE-2016-6186","to":"CVE-2016-7401","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Django","fromFixed":"1.8.14","toFixed":"1.8.15","daysApart":59}]}},{"cve":"CVE-2016-6186","published":"2016-08-05","fixed":"1.10rc1","kev":false},{"cve":"CVE-2016-9013","published":"2016-12-09","fixed":"1.10.3","kev":false},{"cve":"CVE-2016-9014","published":"2016-12-09","fixed":"1.10.3","kev":false},{"cve":"CVE-2017-7233","published":"2017-04-04","fixed":"1.10.7","kev":false}],"package":"PyPI:Django"}}