{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-6186","id":"CVE-2016-6186","title":"Django Cross-site scripting Vulnerability","description":"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.","descriptionLong":"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.","published":"2016-08-05T15:00:00.000Z","updated":"2026-10-20T10:47:38.112144268Z","reserved":"2016-07-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"medium","source":"GitHub"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<1.8.14",">=1.9 <1.9.8",">=1.10a1 <1.10rc1",">=1.10a0 <1.10rc1"],"fixed":["1.8.14","1.9.8","1.10rc1"],"advisory":"GHSA-c8c8-9472-w52h"}],"cwes":["CWE-79"],"aliases":["GHSA-c8c8-9472-w52h","PYSEC-2016-2"],"references":[{"url":"http://www.securitytracker.com/id/1036338","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","VDB Entry","advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2016/Jul/53","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Mailing List","Patch","fix","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1594.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://www.debian.org/security/2016/dsa-3622","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.vulnerability-lab.com/get_content.php?id=1869","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"http://www.securityfocus.com/archive/1/538947/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://packetstormsecurity.com/files/137965/Django-3.3.0-Script-Insertion.html","tags":["x_refsource_MISC","x_transferred","VDB Entry","advisory","web"]},{"url":"http://www.ubuntu.com/usn/USN-3039-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://github.com/django/django/commit/f68e5a99164867ab0e071a936470958ed867479d","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1596.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://www.djangoproject.com/weblog/2016/jul/18/security-releases/","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","article"]},{"url":"https://github.com/django/django/commit/d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","web"]},{"url":"http://www.securityfocus.com/bid/92058","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1595.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://www.exploit-db.com/exploits/40129/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6186","tags":["advisory"]},{"url":"https://github.com/django/django/commit/6fa150b2f8b601668083042324c4add534143cb1","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-2.yaml","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW","tags":["web"]},{"url":"https://web.archive.org/web/20201022155237/http://www.securityfocus.com/archive/1/538947/100/0/threaded","tags":["web"]},{"url":"https://web.archive.org/web/20210123154652/http://www.securityfocus.com/bid/92058","tags":["web"]},{"url":"https://web.archive.org/web/20211204042848/http://www.securitytracker.com/id/1036338","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2016/jul/18/security-releases","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/40129","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DMLLFAUT4J4IP4P2KI4NOVWRMHA22WUJ/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KHHPN6MISX5I6UTXQHYLPTLEEUE6WDXW/","tags":["web"]},{"url":"https://github.com/advisories/GHSA-c8c8-9472-w52h","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.05536,"epssPercentile":0.92982,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-6186","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6186","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-6186","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c8c8-9472-w52h","ok":true,"note":"GHSA-c8c8-9472-w52h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-6186","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}