CVE-2016-6186 json
Django Cross-site scripting Vulnerability
published 2016-08-05 10 y ago modified 2026-06-17 4 mo ago also GHSA-c8c8-9472-w52h , PYSEC-2016-2 , EUVD-2016-0008
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.5%
- EPSS 5.5% chance of exploitation in 30 days, percentile 92%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- pypi django 1.8.14, 1.9.8, 1.10rc1
- python-django Debian 14, Debian 13, Debian 12 1:1.9.8-1
debian advisories DEBIAN-CVE-2016-6186
- python-django Ubuntu 16.04 LTS 1.8.7-1ubuntu5.1
ubuntu advisories UBUNTU-CVE-2016-6186
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-django openstack-optools 8, openstack 8, openstack 7 1.8.14-1.el7ost
- python-django-bash-completion openstack-optools 8, openstack 8, openstack 7 1.8.14-1.el7ost
red hat advisories RHSA-2016:1594RHSA-2016:1596RHSA-2016:1595
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-6186 updated cvss 6.1
django: XSS in admin's add/change related popup
-
Red Hat Ceph Storage 1.3 Django Red Hat Subscription Asset Manager Djangoaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 python-django 1.8.14-1.el7ost, python-django-bash-completion 1.8.14-1.el7ostfixed: vendor fix RHSA-2016:1595
-
Red Hat Enterprise Linux OpenStack Platform 8.0 Operational Tools for RHEL 7 python-django 1.8.14-1.el7ost, python-django-bash-completion 1.8.14-1.el7ostfixed: vendor fix RHSA-2016:1594
-
Red Hat OpenStack Platform 8.0 (Liberty) python-django 1.8.14-1.el7ost, python-django-bash-completion 1.8.14-1.el7ostfixed: vendor fix RHSA-2016:1596
-
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) python-django Red Hat Enterprise Linux OpenStack Platform 6 (Juno) python-django Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools python-django, python-django-bash-completion Red Hat OpenStack Platform 9 (Mitaka) python-django, python-django-bash-completion Red Hat OpenStack Platform 10 (Newton) python-django, python-django-bash-completionnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-40129)
- Published
Exploit prediction
5.54% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-40129 Django CMS 3.3.0 - Editor Snippet Persistent Cross-Site Scripting webapps, 2016-07-20
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | <1.8.14 >=1.9, <1.9.8 >=1.10a1, <1.10rc1 >=1.10a0, <1.10rc1 |
1.8.14 1.9.8 1.10rc1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d
web, patch
-
github.com
/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158
web, patch
-
seclists.org
/fulldisclosure/2016/Jul/53
mailing-list, web, patch
-
vulnerability-lab.com
/get_content.php?id=1869
web, patch, third-party-advisory
-
djangoproject.com
/weblog/2016/jul/18/security-releases/
patch, vendor-advisory, article
-
github.com
/django/django/commit/6fa150b2f8b601668083042324c4add534143cb1
web
-
exploit-db.com
/exploits/40129/
exploit, web
-
rhn.redhat.com
/errata/RHSA-2016-1594.html
vendor-advisory, web, advisory
-
debian.org
/security/2016/dsa-3622
vendor-advisory, web, third-party-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/
vendor-advisory
-
ubuntu.com
/usn/USN-3039-1
vendor-advisory, web, third-party-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-1596.html
vendor-advisory, web, advisory
-
rhn.redhat.com
/errata/RHSA-2016-1595.html
vendor-advisory, web, advisory
-
securitytracker.com
/id/1036338
vdb-entry, web
-
securityfocus.com
/archive/1/538947/100/0/threaded
mailing-list, web
-
packetstormsecurity.com
/files/137965/Django-3.3.0-Script-Insertion.html
web, vdb-entry
-
securityfocus.com
/bid/92058
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2016-6186
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-2.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW
web
-
web.archive.org
/web/20201022155237/http://www.securityfocus.com/archive/1/538947/100/0/threaded
web
-
web.archive.org
/web/20210123154652/http://www.securityfocus.com/bid/92058
web
-
web.archive.org
/web/20211204042848/http://www.securitytracker.com/id/1036338
web
-
djangoproject.com
/weblog/2016/jul/18/security-releases
web
-
exploit-db.com
/exploits/40129
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/
web
-
github.com
/advisories/GHSA-c8c8-9472-w52h
advisory
Sources
- CVE List CVE-2016-6186
- GitHub Advisory GHSA-c8c8-9472-w52h
- NVD CVE-2016-6186
- OSV PYSEC-2016-2
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.