{"id":"UBUNTU-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.","modified":"2026-02-04T03:21:05.362009Z","published":"2016-07-18T00:00:00Z","related":["USN-3039-1"],"upstream":["CVE-2016-6186"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-6186"},{"type":"REPORT","url":"https://www.djangoproject.com/weblog/2016/jul/18/security-releases/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3039-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-6186"}],"affected":[{"package":{"name":"python-django","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-django@1.8.7-1ubuntu5.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.7-1ubuntu5.1"}]}],"versions":["1.7.9-1ubuntu5","1.8.5-2ubuntu1","1.8.7-1ubuntu1","1.8.7-1ubuntu2","1.8.7-1ubuntu3","1.8.7-1ubuntu4","1.8.7-1ubuntu5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-django","binary_version":"1.8.7-1ubuntu5.1"},{"binary_name":"python-django-common","binary_version":"1.8.7-1ubuntu5.1"},{"binary_name":"python3-django","binary_version":"1.8.7-1ubuntu5.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-6186.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}