cve.bz

CVE-2016-6186 Cross-site Scripting

6.1 mediumExploitEPSS 5.5%Fix available

Medium (6.1). EPSS 5.5% estimated probability of exploitation activity in the next 30 days. Fixed in django 1.10rc1, 1.8.14, 1.9.8.

On this page
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.

Severity

CVSS 3.0

6.1 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
5.5% (unchanged from 5.5% a week ago; 5.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-6186 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-6186?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-6186?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-6186 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux8.0
djangoproject:djangothrough 1.8.13
djangoproject:django1.9
djangoproject:django1.9.0:rc1
djangoproject:django1.9.1
djangoproject:django1.9.2
djangoproject:django1.9.3
djangoproject:django1.9.4
djangoproject:django1.9.5
djangoproject:django1.9.6
djangoproject:django1.9.7
djangoproject:django1.10:alpha1
djangoproject:django1.10:beta1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c8c8-9472-w52hPyPIdjango<1.8.141.8.14
GHSA-c8c8-9472-w52hPyPIdjango>=1.9 <1.9.81.9.8
GHSA-c8c8-9472-w52hPyPIdjango>=1.10a1 <1.10rc11.10rc1
PYSEC-2016-2PyPIdjango<1.8.14
>=1.9 <1.9.8
>=1.10a0 <1.10rc1
1.8.14, 1.9.8, 1.10rc1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7python-django1.4.5-1+deb7u17DLA-555-1
Debian8python-django1.7.7-1+deb8u5DSA-3622-1
Debian12, 13, 14python-django1:1.9.8-1DEBIAN-CVE-2016-6186
Ubuntu16.04:LTSpython-django1.8.7-1ubuntu5.1UBUNTU-CVE-2016-6186 USN-3039-1
Red Hatopenstack-optools:8::el7python-django, python-django-bash-completion0:1.8.14-1.el7ostRHSA-2016:1594
Red Hatopenstack:7::el7python-django, python-django-doc, python-django-bash-completion0:1.8.14-1.el7ostRHSA-2016:1595
Red Hatopenstack:8::el7python-django, python-django-bash-completion0:1.8.14-1.el7ostRHSA-2016:1596

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7python-django-0:1.8.14-1.el7ostFixed 2016-08-11RHSA-2016:1595
Red Hat OpenStack Platform 8.0 (Liberty)python-django-0:1.8.14-1.el7ostFixed 2016-08-11RHSA-2016:1596
Red Hat OpenStack Platform 8.0 Operational Tools for RHEL 7python-django-0:1.8.14-1.el7ostFixed 2016-08-10RHSA-2016:1594
Red Hat Ceph Storage 1.3DjangoWill not fix
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)python-djangoNot affected
Red Hat Enterprise Linux OpenStack Platform 6 (Juno)python-djangoNot affected
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Toolspython-djangoNot affected
Red Hat OpenStack Platform 10 (Newton)python-djangoNot affected
Red Hat OpenStack Platform 9 (Mitaka)python-djangoNot affected
Red Hat Subscription Asset ManagerDjangoWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-6186.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON