CVE-2016-6186Published Aug 5, 2016 · Aug 5Updated Oct 20
Django Cross-site scripting Vulnerability
Medium6.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| django PyPI |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| django 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.
From the CVE record · mitre
Django's admin JavaScript function dismissChangeRelatedObjectPopup uses Element.innerHTML unsafely. A remote attacker can inject arbitrary web script or HTML; the input does not specify whether authentication or user interaction is required.
Anyone running Django before 1.8.14, 1.9.x before 1.9.8, or 1.10 pre-releases before 1.10rc1 should check their installation.