CVE-2016-6186

medium
Published 2016-08-05 · Modified 2023-11-08
CVSS v3
6.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v2
4.3
VIR risk
6.1

Description

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.

Predictions

Exploit likelihood
71%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2016-6186

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2016-6186.html

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://www.djangoproject.com/weblog/2016/jul/18/security-releases/

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — http://www.vulnerability-lab.com/get_content.php?id=1869

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — http://seclists.org/fulldisclosure/2016/Jul/53

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debian8.0affected
debian debianbookwormfixed1:1.9.8-1
debian debianbullseyefixed1:1.9.8-1
debian debianforkyfixed1:1.9.8-1
debian debiansidfixed1:1.9.8-1
debian debiantrixiefixed1:1.9.8-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango<1.8.141.8.14
python PyPIdjango>=1.9,<1.9.81.9.8
python PyPIdjango>=1.10a1,<1.10rc11.10rc1
python PyPIdjango<f68e5a99164867ab0e071a936470958ed867479d||>=1.10a0,<1.10rc1d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158

Application impact

VendorProductVersionsFixed
djangoprojectdjango{"endIncluding":"1.8.13"}
djangoprojectdjango1.9
djangoprojectdjango1.9.0
djangoprojectdjango1.9.1
djangoprojectdjango1.9.2
djangoprojectdjango1.9.3
djangoprojectdjango1.9.4
djangoprojectdjango1.9.5
djangoprojectdjango1.9.6
djangoprojectdjango1.9.7
djangoprojectdjango1.10

References

CWEs

CWE-79

Verify integrity in audit chain (admin only). AS-IS.