VDB

CVE-2016-6186

CVE-2016-6186 PUBLISHED CVSS 6.099999904632568 MEDIUM

Django Cross-site scripting Vulnerability

Reported by mitre · Published August 5, 2016

Django is fixed in d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158, 1.9.8, 1.8.14 and 1 more (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
DjangoPyPId03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158, 1.9.8, 1.8.14, 1.10rc1
djangodjangoproject1.8.13
python-djangoUbuntu:16.04:LTS1.8.7-1ubuntu5.1

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
PyPIDjango0, 1.9, 1.10a1
n/an/a*

Timeline

  • Jul 18, 2016 CVE Published
  • Jul 20, 2016 PoC Published (2 in total, the first dated here)
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 5, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 5, 2026 Security Advisory (3 in total, the first dated here)
  • Oct 7, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2016-6186
vulnetix vdb fixes CVE-2016-6186

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-6186/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 9 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›