ArchLinux: 201607-10: python-django: cross-site scripting
Summary
Unsafe usage of JavaScript's Element.innerHTML could result in XSS in
the admin's add/change related popup. Element.textContent is now used to
prevent execution of the data.
The debug view also used innerHTML. Although a security issue wasn't
identified there, out of an abundance of caution it's also updated to
use textContent.
Resolution
Upgrade to 1.9.8-1.
# pacman -Syu "python-django>=1.9.8-1"
The problem has been fixed upstream in version 1.9.8.
References
https://www.djangoproject.com/weblog/2016/jul/18/security-releases/ https://access.redhat.com/security/cve/CVE-2016-6186
Workaround
None.