Every CVE Search/ Get API key

CVE-2016-6186

Django Cross-site scripting Vulnerability

6.1 MediumPublic exploitFix available

CVE-2016-6186 is a medium vulnerability (CVSS 6.1) in Djangoproject Django, published July 18, 2016. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 5.58%, the 92nd percentile. Fixed in django 1.8.14.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

5.58%Down 17.9 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.1

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.

Record
CVE-2016-6186
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2016-6186
Updated
2026-11-02
EUVDEUVD-2016-0008 No score

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.

Record
EUVD-2016-0008
Updated
2026-11-03
GitHub AdvisoriesGHSA-c8c8-9472-w52h 5.3

Django Cross-site scripting Vulnerability

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.

Record
GHSA-c8c8-9472-w52h
CVSS 4.0
5.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 6.1

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.

Record
CVE-2016-6186
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2016-6186 6.1

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.

Record
DEBIAN-CVE-2016-6186
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
Show 8 moreShow less
OSVGHSA-c8c8-9472-w52h 5.3

Django Cross-site scripting Vulnerability

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.

Record
GHSA-c8c8-9472-w52h
CVSS 4.0
5.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVRHSA-2016:1594 6.1

Red Hat Security Advisory: python-django security update

Record
RHSA-2016:1594
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2016:1595 6.1

Red Hat Security Advisory: python-django security update

Record
RHSA-2016:1595
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2016:1596 6.1

Red Hat Security Advisory: python-django security update

Record
RHSA-2016:1596
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2016-6186 6.1

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.

Record
UBUNTU-CVE-2016-6186
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVMGASA-2016-0282 No score

Updated python-django packages fix security vulnerability

It was discovered that Django is prone to a cross-site scripting vulnerability in the admin's add/change related popup (CVE-2016-6186).

Record
MGASA-2016-0282
Updated
2026-11-02
OSVPYSEC-2016-2 No score

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.

Record
PYSEC-2016-2
Updated
2026-11-02
OSVUSN-3039-1 No score

python-django vulnerability

It was discovered that Django incorrectly handled the admin's add/change related popup. A remote attacker could possibly use this issue to perform a cross-site scripting attack.

Record
USN-3039-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
django
PyPI
before 1.8.14
1.8.14
django
PyPI
1.9 up to 1.9.8
1.9.8
django
PyPI
1.10a1 up to 1.10rc1
1.10rc1
python-django
Debian:12
before 1:1.9.8-1
1:1.9.8-1
python-django
Debian:13
before 1:1.9.8-1
1:1.9.8-1
python-django
Debian:14
before 1:1.9.8-1
1:1.9.8-1
python-django
Debian:7
before 1.4.5-1+deb7u17, plus listed versions
1.4.5-11.4.5-1+deb7u11.4.5-1+deb7u101.4.5-1+deb7u111.4.5-1+deb7u11~bpo60+1
Show 18 moreShow less
1.4.5-1+deb7u121.4.5-1+deb7u131.4.5-1+deb7u13~bpo60+11.4.5-1+deb7u141.4.5-1+deb7u14~bpo60+11.4.5-1+deb7u151.4.5-1+deb7u161.4.5-1+deb7u21.4.5-1+deb7u31.4.5-1+deb7u41.4.5-1+deb7u4~bpo60+11.4.5-1+deb7u51.4.5-1+deb7u61.4.5-1+deb7u71.4.5-1+deb7u7~bpo60+11.4.5-1+deb7u81.4.5-1+deb7u8~bpo60+11.4.5-1+deb7u9
1.4.5-1+deb7u17
python-django
Debian:8
before 1.7.7-1+deb8u5, plus listed versions
1.7.7-11.7.7-1+deb8u11.7.7-1+deb8u21.7.7-1+deb8u31.7.7-1+deb8u4
1.7.7-1+deb8u5
django
PyPI
before 1.8.14, plus listed versions
1.0.11.0.21.0.31.0.41.1
Show 45 moreShow less
1.1.11.1.21.1.31.1.41.21.2.11.2.21.2.31.2.41.2.51.2.61.2.71.31.3.11.3.21.3.31.3.41.3.51.3.61.3.71.41.4.11.4.101.4.111.4.121.4.131.4.141.4.151.4.161.4.171.4.181.4.191.4.21.4.201.4.211.4.221.4.31.4.41.4.51.4.61.4.71.4.81.4.91.51.5.1
1.8.14
django
PyPI
1.9 up to 1.9.8, plus listed versions
1.9.11.9.21.9.31.9.41.9.51.9.61.9.7
1.9.8
Show 11 moreShow less
Affected packages
PackageAffectedFixed
django
PyPI
1.10a1 up to 1.10rc1, plus listed versions
1.10b1
1.10rc1
python-django
Mageia:5
before 1.8.14-1.mga5
1.8.14-1.mga5
django
PyPI
before 1.8.14, 1.9 up to 1.9.8, 1.10a0 up to 1.10rc1, plus listed versions
1.0.11.0.21.0.31.0.41.1
Show 45 moreShow less
1.1.11.1.21.1.31.1.41.10a11.10b11.21.2.11.2.21.2.31.2.41.2.51.2.61.2.71.31.3.11.3.21.3.31.3.41.3.51.3.61.3.71.41.4.11.4.101.4.111.4.121.4.131.4.141.4.151.4.161.4.171.4.181.4.191.4.21.4.201.4.211.4.221.4.31.4.41.4.51.4.61.4.71.4.81.4.9
1.8.141.9.81.10rc1
python-django
Red Hat:openstack-optools:8::el7
before 0:1.8.14-1.el7ost
0:1.8.14-1.el7ost
python-django-bash-completion
Red Hat:openstack-optools:8::el7
before 0:1.8.14-1.el7ost
0:1.8.14-1.el7ost
python-django
Red Hat:openstack:7::el7
before 0:1.8.14-1.el7ost
0:1.8.14-1.el7ost
python-django-bash-completion
Red Hat:openstack:7::el7
before 0:1.8.14-1.el7ost
0:1.8.14-1.el7ost
python-django-doc
Red Hat:openstack:7::el7
before 0:1.8.14-1.el7ost
0:1.8.14-1.el7ost
python-django
Red Hat:openstack:8::el7
before 0:1.8.14-1.el7ost
0:1.8.14-1.el7ost
python-django-bash-completion
Red Hat:openstack:8::el7
before 0:1.8.14-1.el7ost
0:1.8.14-1.el7ost
python-django
Ubuntu:16.04:LTS
before 1.8.7-1ubuntu5.1, plus listed versions
1.7.9-1ubuntu51.8.5-2ubuntu11.8.7-1ubuntu11.8.7-1ubuntu21.8.7-1ubuntu31.8.7-1ubuntu41.8.7-1ubuntu5
1.8.7-1ubuntu5.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBDjango CMS 3.3.0 - Editor Snippet Persistent Cross-Site Scripting2016-07-20

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

References

Show 36 moreShow less
This page doesn't list everything

Left out here: 121 versions. The JSON record has them.

MoveEnter Open