KeygraphLabs · CVE MCP

CVE-2016-6186 · mitre

CVE-2016-6186

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-05, last changed 2026-06-17. Weakness: CWE-79.

CVSS
6.1
medium, from NVD
EPSS
5.54%
percentile 93.1%, chance of exploitation in 30 days
Exploitation
Public exploit
1 public reference

Public exploits

SourceKindReference
exploit-dbproof-of-conceptEDB-40129

How to fix

Upgrade to a fixed version: django 1.10rc1, 1.8.14, 1.9.8 (PyPI) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in django/django by d03bf6fe4e, f68e5a9916, 6fa150b2f8. Functions changed by the fix: default_urlconf, dismissChangeRelatedObjectPopup. Regression tests: tests/admin_views/models.py, tests/admin_views/tests.py, tests/admin_views/admin.py. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2016-08-05Published
2016-08-05Package advisory PYSEC-2016-2
2022-05-14Package advisory GHSA-c8c8-9472-w52h
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 5.54%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-c8c8-9472-w52hdjango (PyPI)1.8.14
GHSA-c8c8-9472-w52hdjango (PyPI)1.9.8
GHSA-c8c8-9472-w52hdjango (PyPI)1.10rc1
PYSEC-2016-2django (PyPI)1.8.14, 1.9.8, 1.10rc1

Also known as: GHSA-c8c8-9472-w52h, PYSEC-2016-2

Related

CVEPublishedCVSSSummary
CVE-2026-158302026-08-046.9Potential denial-of-service vulnerability via nested geometry collections
CVE-2026-153072026-08-048.7Server-side file-write and request forgery via spatial lookups
CVE-2026-538782026-07-075.3Header injection possibility since DomainNameValidator accepted newlines in input
CVE-2026-538772026-07-076.3Heap buffer over-read in GDALRaster
CVE-2026-485882026-07-075.3Potential exposure of private data via cached Set-Cookie response
CVE-2026-84042026-06-035.3Potential exposure of private data via case-sensitive Cache-Control directives in UpdateCacheMiddleware
CVE-2026-76662026-06-032.3Potential unencrypted email transmission via STARTTLS in the SMTP backend
CVE-2026-68732026-06-034.3Signed cookie salt namespace collision in django.http.HttpRequest.get_signed_cookie

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-6186, or call /api/v1/vulnerabilities/CVE-2016-6186. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org