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.
CVE-2016-6186
This medium-severity CVE scores 6.1 under NVD CVSS v3. EPSS exploit probability: 5.5%, top 8% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.1
- EG Score
- 6.1(medium)
- EG Risk
- 58(Track)EG Risk 58/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity61% × 45%Exploitation65% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 6%
- EPSS %ILE
- 93%
- KEV
- Not listed
Published
August 5, 2016
Last Modified
June 17, 2026
References (34)
- cve@mitrehttp://packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.html
- cve@mitrehttp://rhn.redhat.com/errata/RHSA-2016-1594.html
- cve@mitrehttp://rhn.redhat.com/errata/RHSA-2016-1595.html
- cve@mitrehttp://rhn.redhat.com/errata/RHSA-2016-1596.html
- cve@mitrehttp://seclists.org/fulldisclosure/2016/Jul/53
- cve@mitrehttp://www.debian.org/security/2016/dsa-3622
- cve@mitrehttp://www.securityfocus.com/archive/1/538947/100/0/threaded
- cve@mitrehttp://www.securityfocus.com/bid/92058
- cve@mitrehttp://www.securitytracker.com/id/1036338
- cve@mitrehttp://www.ubuntu.com/usn/USN-3039-1
- cve@mitrehttp://www.vulnerability-lab.com/get_content.php?id=1869
- cve@mitrehttps://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158
- cve@mitrehttps://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d
- cve@mitrehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/
- cve@mitrehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3-django (1.8.7-1ubuntu5.1) @ xenial | 2026-05-22 | ubuntu |
| redhat | python-django-0:1.8.14-1.el7ost | 2016-08-11 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(7 across 7 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | — | 1:1.9.8-1 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | — | 1:1.9.8-1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | — | 1:1.9.8-1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | — | 1:1.9.8-1 | — |
Debian:7(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | 1.4.5-1 ... 1.4.5-1+deb7u9 (23 versions) | 1.4.5-1+deb7u17 | — |
Debian:8(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| python-django | 1.7.7-1, 1.7.7-1+deb8u1, 1.7.7-1+deb8u2, 1.7.7-1+deb8u3, 1.7.7-1+deb8u4 | 1.7.7-1+deb8u5 | — |
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| django | 1.0.1 ... 1.0 (119 versions) | 1.10rc1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(4)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 7× in last 7d / 21× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 142 total refreshes for this CVE.
- 2026-09-18 22:12 UTCOSV refresh
- 2026-09-18 19:22 UTCEPSS rescore
- 2026-09-17 19:22 UTCEPSS rescore
- 2026-09-16 05:05 UTCEPSS rescore
- 2026-09-15 03:05 UTCEPSS rescore
- 2026-09-13 16:41 UTCEPSS rescore
- 2026-09-12 14:55 UTCEPSS rescore
- 2026-09-11 14:46 UTCEPSS rescore
- 2026-09-11 09:31 UTCEPSS rescore
- 2026-09-10 09:26 UTCEPSS rescore
- 2026-09-07 15:56 UTCEPSS rescore
- 2026-09-04 13:56 UTCEPSS rescore
- 2026-09-02 14:07 UTCEPSS rescore
- 2026-09-01 13:48 UTCEPSS rescore
- 2026-09-01 03:31 UTCEPSS rescore
- 2026-08-31 01:46 UTCOSV refresh
- 2026-08-28 21:35 UTCEPSS rescore
- 2026-08-27 14:20 UTCEPSS rescore
- 2026-08-26 14:41 UTCEPSS rescore
- 2026-08-25 13:44 UTCEPSS rescore
- 2026-08-21 23:44 UTCEPSS rescore
- 2026-08-19 16:59 UTCEPSS rescore
- 2026-08-18 13:43 UTCEPSS rescore
- 2026-08-16 14:51 UTCEPSS rescore
- 2026-08-16 02:10 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-15 01:25 UTCEPSS rescore
- 2026-08-14 10:29 UTCOSV refresh
- 2026-08-12 13:46 UTCEPSS rescore
- 2026-08-11 13:36 UTCEPSS rescore
- 2026-08-09 13:42 UTCEPSS rescore
- 2026-08-08 16:32 UTCEPSS rescore
- 2026-08-07 16:22 UTCEPSS rescore
- 2026-08-06 13:42 UTCEPSS rescore
- 2026-08-05 19:12 UTCEPSS rescore
- 2026-08-04 15:05 UTCEPSS rescore
- 2026-08-02 02:22 UTCEPSS rescore
- 2026-08-01 04:11 UTCEPSS rescore
- 2026-07-30 16:24 UTCEPSS rescore
- 2026-07-30 01:26 UTCEPSS rescore
- 2026-07-30 01:26 UTCEPSS rescore
- 2026-07-29 21:07 UTCOSV refresh
- 2026-07-28 15:31 UTCEPSS rescore
- 2026-07-25 14:13 UTCEPSS rescore
- 2026-07-24 14:13 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:23 UTCEG score recompute
- 2026-07-22 22:03 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-13 06:09 UTCEPSS rescore
- 2026-07-12 08:08 UTCOSV refresh
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:10 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 13:50 UTCOSV refresh
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-40129✓ verifiedFirst seen Jul 20, 2016
Django CMS 3.3.0 - Editor Snippet Persistent Cross-Site Scripting
Open source ↗
Frequently asked(5)
What is CVE-2016-6186?
When was CVE-2016-6186 disclosed?
Is CVE-2016-6186 actively exploited?
What is the CVSS score of CVE-2016-6186?
How do I remediate CVE-2016-6186?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2016-6186
Is Your Infrastructure Affected by CVE-2016-6186?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.