CVE-2016-6186

Summary

CVECVE-2016-6186
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-08-05 15:59:09 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionCross-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.

Risk And Classification

Primary CVSS: v3.0 6.1 MEDIUM from [email protected]

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Problem Types: CWE-79 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary6.1MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 8.0 All All All
Application Djangoproject Django 1.10 alpha1 All All
Application Djangoproject Django 1.10 beta1 All All
Application Djangoproject Django 1.9 All All All
Application Djangoproject Django 1.9.0 rc1 All All
Application Djangoproject Django 1.9.1 All All All
Application Djangoproject Django 1.9.2 All All All
Application Djangoproject Django 1.9.3 All All All
Application Djangoproject Django 1.9.4 All All All
Application Djangoproject Django 1.9.5 All All All
Application Djangoproject Django 1.9.6 All All All
Application Djangoproject Django 1.9.7 All All All
Application Djangoproject Django All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Django CMS 3.3.0 - (Editor Snippet) Persistent Cross-Site Scripting af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Django 3.3.0 Script Insertion ≈ Packet Storm af854a3a-2127-422b-91ae-364da2661108 packetstormsecurity.com VDB Entry
Debian -- Security Information -- DSA-3622-1 python-django af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
Django Input Validation Flaw in Administrator Add/Change Popup Lets Remote Conduct Cross-Site Scripting Attacks - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com VDB Entry
Django CMS 'Editor - Snippets' Module HTML Injection Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
[SECURITY] Fedora 23 Update: python-django-1.8.14-1.fc23 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Full Disclosure: Django CMS v3.3.0 - (Editor Snippet) Persistent Web Vulnerability (CVE-2016-6186) af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Patch
USN-3039-1: Django vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
403 Forbidden af854a3a-2127-422b-91ae-364da2661108 www.vulnerability-lab.com Patch, Third Party Advisory
[SECURITY] Fedora 24 Update: python-django-1.9.8-1.fc24 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Django security releases issued: 1.10 release candidate 1, 1.9.8, and 1.8.14 | Weblog | Django af854a3a-2127-422b-91ae-364da2661108 www.djangoproject.com Patch, Vendor Advisory
[1.8.x] Fixed XSS in admin's add/change related popup. · django/django@f68e5a9 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
[1.9.x] Fixed XSS in admin's add/change related popup. · django/django@d03bf6f · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
[SECURITY] Fedora 23 Update: python-django-1.8.14-1.fc23 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 24 Update: python-django-1.9.8-1.fc24 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report