CVE-2016-6186

Source
https://cve.org/CVERecord?id=CVE-2016-6186
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6186.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-6186
Aliases
Downstream
DEBIAN (1)
MGASA (1)
RHSA (3)
UBUNTU (1)
Published
2016-08-05T15:59:09Z
Modified
2026-10-20T10:47:38Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
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.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "8.0"
                        },
                        {
                            "last_affected":  "8.0"
                        }
                    ],
                    "source":  "CPE_STRING"
                }
            ],
            "vendor_product":  "debian:debian_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:a:djangoproject:django:1.10:alpha1:*:*:*:*:*:*",
                "cpe:2.3:a:djangoproject:django:1.10:beta1:*:*:*:*:*:*",
                "cpe:2.3:a:djangoproject:django:1.9.0:rc1:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "1.9.0-rc1"
                        },
                        {
                            "last_affected":  "1.9.0-rc1"
                        },
                        {
                            "introduced":  "1.10-alpha1"
                        },
                        {
                            "last_affected":  "1.10-alpha1"
                        },
                        {
                            "introduced":  "1.10-beta1"
                        },
                        {
                            "last_affected":  "1.10-beta1"
                        }
                    ],
                    "source":  "CPE_STRING"
                }
            ],
            "vendor_product":  "djangoproject:django"
        }
    ]
}
References

Affected packages

Git / github.com/django/django

Affected ranges

Type
GIT
Repo
https://github.com/django/django
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "1.8.13"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:djangoproject:django:1.9:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.9"
                },
                {
                    "last_affected":  "1.9"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:djangoproject:django:1.9.1:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.9.1"
                },
                {
                    "last_affected":  "1.9.1"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:djangoproject:django:1.9.2:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.9.2"
                },
                {
                    "last_affected":  "1.9.2"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:djangoproject:django:1.9.3:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.9.3"
                },
                {
                    "last_affected":  "1.9.3"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:djangoproject:django:1.9.4:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.9.4"
                },
                {
                    "last_affected":  "1.9.4"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:djangoproject:django:1.9.5:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.9.5"
                },
                {
                    "last_affected":  "1.9.5"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:djangoproject:django:1.9.6:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.9.6"
                },
                {
                    "last_affected":  "1.9.6"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:djangoproject:django:1.9.7:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.9.7"
                },
                {
                    "last_affected":  "1.9.7"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "range":  [
                {
                    "fixed":  "d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "f68e5a99164867ab0e071a936470958ed867479d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

1.*
1.0
1.1
1.2
1.2.1
1.3
1.4
1.7a2
1.8
1.8.1
1.8.10
1.8.11
1.8.12
1.8.13
1.8.2
1.8.3
1.8.4
1.8.5
1.8.6
1.8.7
1.8.8
1.8.9
1.8a1
1.8b1
1.8b2
1.8c1
1.9
1.9.1
1.9.2
1.9.3
1.9.4
1.9.5
1.9.6
1.9.7
1.9a1
1.9b1
1.9rc1
1.9rc2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6186.json"