CVE-2016-6186Debian Linux
Medium 6.1 No auth needed
Follow: this CVE · Debian · Debian Linux We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 5.5% probability of exploitation in 30 days · percentile 94
- Auth required
- No
- Published
- Aug 5, 2016
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Debian Linux.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django |
< 1.8.14 |
1.8.14 |
pip install "django>=1.8.14" |
| PyPI | django |
≥ 1.9 < 1.9.8 |
1.9.8 |
pip install "django>=1.9.8" |
| PyPI | django |
≥ 1.10a1 < 1.10rc1 |
1.10rc1 |
pip install "django>=1.10rc1" |
| PyPI | django |
< 1.8.14 |
1.8.14 |
pip install "django>=1.8.14" |
| PyPI | django |
≥ 1.9 < 1.9.8 |
1.9.8 |
pip install "django>=1.9.8" |
| PyPI | django |
≥ 1.10a0 < 1.10rc1 |
1.10rc1 |
pip install "django>=1.10rc1" |
Per OSV / GitHub Advisories (GHSA-c8c8-9472-w52h, PYSEC-2016-2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| debian | debian_linux | 8.0 |
| djangoproject | django | ≤ 1.8.13 |
| djangoproject | django | 1.9 |
| djangoproject | django | 1.9.0 |
| djangoproject | django | 1.9.1 |
| djangoproject | django | 1.9.2 |
| djangoproject | django | 1.9.3 |
| djangoproject | django | 1.9.4 |
| djangoproject | django | 1.9.5 |
| djangoproject | django | 1.9.6 |
| djangoproject | django | 1.9.7 |
| djangoproject | django | 1.10 |
| djangoproject | django | 1.10 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com VDB Entry
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- seclists.org Mailing List Patch
- www.debian.org Third Party Advisory
- www.securityfocus.com
- www.securityfocus.com
- www.securitytracker.com VDB Entry
- www.ubuntu.com Third Party Advisory
- www.vulnerability-lab.com Patch Third Party Advisory
- github.com Patch
- github.com Patch
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.djangoproject.com Patch Vendor Advisory
- www.exploit-db.com