Cross-site scriptingin the django package.
Proof of concept public (Exploit-DB).
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.
- Upgrade Django (PyPI) to 1.8.14, 1.9.8, 1.10rc1 or later, whichever matches your release line.
- Upgrade django (PyPI) to 1.8.14, 1.9.8, 1.10rc1 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 8 Jul 2016CVE ID reserved by mitre.
- 5 Aug 2016Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- www.securitytracker.com vdb-entry, x_refsource_SECTRACK
- seclists.org mailing-list, x_refsource_FULLDISC
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- www.vulnerability-lab.com x_refsource_MISC
- www.securityfocus.com mailing-list, x_refsource_BUGTRAQ
- packetstormsecurity.com x_refsource_MISC
- www.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- github.com x_refsource_CONFIRM
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- www.djangoproject.com x_refsource_CONFIRM
- github.com x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
Patchminder. CVE-2016-6186: Cross-site scripting in the django package. https://patchminder.com/cve/cve-2016-6186/ (accessed 5 December 2026).