Feed
6.1MEDIUM
CVE-2016-6186Django Cross-site scripting Vulnerability
A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 5.5% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 5.5%
- percentile 94%
- Fix
- Named by a source
- CVE published 5 Aug 2016
Reference
None of the "Needs attention" rules apply right now.
EPSS 5.5% (+6) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- django (PyPI): upgrade to 1.8.14 / 1.9.8 / 1.10rc1 or later on your release line.
- Patch: https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158
- Patch: https://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d
- Commit / pull request: https://github.com/django/django/commit/6fa150b2f8b601668083042324c4add534143cb1
Who should check
django (PyPI) pkg:pypi/django
- Affected< 1.8.14Fixed in1.8.14OSV (PYSEC-2016-2)
- Affected>= 1.9, < 1.9.8Fixed in1.9.8OSV (PYSEC-2016-2)
- Affected>= 1.10a1, < 1.10rc1Fixed in1.10rc1OSV (GHSA-c8c8-9472-w52h)
- Affected>= 1.10a0, < 1.10rc1Fixed in1.10rc1OSV (PYSEC-2016-2)
- Affected1.9rc2, 1.9rc1, 1.9b1, 1.9a1Fixed innot namedOSV (PYSEC-2016-2)
Confirmed facts
- CVSS
- 6.1 MEDIUM (version 3.0)
- Score from
- GitHub Advisory Database (GHSA-c8c8-9472-w52h)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-79
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 5 Apr 2025Exploitation more likely 5.1% → 14.1%
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2016-6186
- commit / pull requesthttps://github.com/django/django/commit/6fa150b2f8b601668083042324c4add534143cb1
- patchhttps://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158
- patchhttps://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-2.yaml
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW
- otherhttps://web.archive.org/web/20201022155237/http://www.securityfocus.com/archive/1/538947/100/0/threaded
- otherhttps://web.archive.org/web/20210123154652/http://www.securityfocus.com/bid/92058
- otherhttps://web.archive.org/web/20211204042848/http://www.securitytracker.com/id/1036338
- otherhttps://www.djangoproject.com/weblog/2016/jul/18/security-releases
- otherhttps://www.exploit-db.com/exploits/40129
- otherhttp://packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.html
- advisoryhttp://rhn.redhat.com/errata/RHSA-2016-1594.html
- advisoryhttp://rhn.redhat.com/errata/RHSA-2016-1595.html
- advisoryhttp://rhn.redhat.com/errata/RHSA-2016-1596.html
- otherhttp://seclists.org/fulldisclosure/2016/Jul/53
- advisoryhttp://www.debian.org/security/2016/dsa-3622
- advisoryhttp://www.ubuntu.com/usn/USN-3039-1
- otherhttp://www.vulnerability-lab.com/get_content.php?id=1869
- otherhttp://www.securitytracker.com/id/1036338
- otherhttps://www.djangoproject.com/weblog/2016/jul/18/security-releases/
- otherhttp://www.securityfocus.com/bid/92058
- otherhttps://www.exploit-db.com/exploits/40129/
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/
- otherhttp://www.securityfocus.com/archive/1/538947/100/0/threaded
- advisoryhttps://github.com/advisories/GHSA-c8c8-9472-w52h
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-c8c8-9472-w52h (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2016-2 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 18 min ago · osv 18 min ago · nvd 18 min ago · epss 17 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-c8c8-9472-w52h, PYSEC-2016-2