Medium severity6.1NVD Advisory· Published Aug 5, 2016· Updated Jun 17, 2026
CVE-2016-6186
CVE-2016-6186
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
DjangoPyPI | < 1.8.14 | 1.8.14 |
DjangoPyPI | >= 1.9, < 1.9.8 | 1.9.8 |
DjangoPyPI | >= 1.10a1, < 1.10rc1 | 1.10rc1 |
Affected products
14cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*+ 11 more
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*range: <=1.8.13
- 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:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:1.9.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:1.9.1:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:1.9.2:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:1.9.3:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:1.9.4:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:1.9.5:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:1.9.6:*:*:*:*:*:*:*
- cpe:2.3:a:djangoproject:django:1.9.7:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
28- seclists.org/fulldisclosure/2016/Jul/53nvdMailing ListPatchWEB
- www.vulnerability-lab.com/get_content.phpnvdPatchThird Party AdvisoryWEB
- github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158nvdPatchWEB
- github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479dnvdPatchWEB
- www.djangoproject.com/weblog/2016/jul/18/security-releases/nvdPatchVendor Advisory
- www.debian.org/security/2016/dsa-3622nvdThird Party AdvisoryWEB
- www.ubuntu.com/usn/USN-3039-1nvdThird Party AdvisoryWEB
- github.com/advisories/GHSA-c8c8-9472-w52hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2016-6186ghsaADVISORY
- packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.htmlnvdVDB EntryWEB
- rhn.redhat.com/errata/RHSA-2016-1594.htmlnvdWEB
- rhn.redhat.com/errata/RHSA-2016-1595.htmlnvdWEB
- rhn.redhat.com/errata/RHSA-2016-1596.htmlnvdWEB
- www.securitytracker.com/id/1036338nvdVDB Entry
- github.com/django/django/commit/6fa150b2f8b601668083042324c4add534143cb1ghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-2.yamlghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXWghsaWEB
- web.archive.org/web/20201022155237/http://www.securityfocus.com/archive/1/538947/100/0/threadedghsaWEB
- web.archive.org/web/20210123154652/http://www.securityfocus.com/bid/92058ghsaWEB
- web.archive.org/web/20211204042848/http://www.securitytracker.com/id/1036338ghsaWEB
- www.djangoproject.com/weblog/2016/jul/18/security-releasesghsaWEB
- www.exploit-db.com/exploits/40129ghsaWEB
- www.securityfocus.com/archive/1/538947/100/0/threadednvd
- www.securityfocus.com/bid/92058nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/nvd
- www.exploit-db.com/exploits/40129/nvd
News mentions
0No linked articles in our index yet.