Skip to content
Fencer Vulns
medium 6.1

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 Django
    affected: 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.el7ost
    fixed: 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.el7ost
    fixed: 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.el7ost
    fixed: 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-completion
    not 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

  1. First public exploit (EDB-40129)
  2. Published

Exploit prediction

5.54% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

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

Sources

Fencer Vulns 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.