CVE-2016-6186: Django - Reflected XSS
- Cve: CVE-2016-6186
- Name: Django - Reflected XSS
- 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.
- Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, leading to session hijacking or defacement.
- Remediation: Update to Django 1.8.14, 1.9.8, or 1.10rc1 or later versions.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs victim to load malicious page or click malicious link.
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.05536
- Epss percentile: 0.93025
- Assignee: [email protected]
- Published at: 2016-08-05T15:59:09Z
- Age in days: 3763
- Modified at: 2026-06-17T00:50:36Z
- Patch available: yes
- References total: 17
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-6186
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| djangoproject:django | = 1.10 alpha1, = 1.10 beta1, = 1.9.7, = 1.9.6, = 1.9.5, = 1.9.4, = 1.9.3, = 1.9.2, = 1.9.1, = 1.9.0 rc1, = 1.9, <= 1.8.13 | no | nvd | /v1/products/djangoproject/django |
| debian:debian_linux | = 8.0 | no | nvd | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| django/django | commit, fix, package | yes | /v1/repositories/django/django |
Index
- Repositories: 427
- Repositories high signal: 327
- Packages: 1
Exploitation
- Exploitation seen: yes
- Remote: yes
- Exposed hosts: 4706702
- Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports