PyPA Advisory Database
PYSEC-2016-2
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django | All versions before 1.8.14 (fixed in 1.8.14) From 1.9 before 1.9.8 (fixed in 1.9.8) From 1.10a0 before 1.10rc1 (fixed in 1.10rc1) |
References
- http://packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.html
- http://www.vulnerability-lab.com/get_content.php?id=1869
- http://www.securitytracker.com/id/1036338
- http://www.ubuntu.com/usn/USN-3039-1
- http://www.debian.org/security/2016/dsa-3622
- https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158
- https://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d
- https://www.djangoproject.com/weblog/2016/jul/18/security-releases/
- http://seclists.org/fulldisclosure/2016/Jul/53
- http://www.securityfocus.com/bid/92058
- http://rhn.redhat.com/errata/RHSA-2016-1596.html
- http://rhn.redhat.com/errata/RHSA-2016-1595.html
- https://www.exploit-db.com/exploits/40129/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/
- http://rhn.redhat.com/errata/RHSA-2016-1594.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/
- http://www.securityfocus.com/archive/1/538947/100/0/threaded
- https://github.com/advisories/GHSA-c8c8-9472-w52h