CVE-2016-6186

medium
Published 2016-08-05 ยท Modified 2023-11-08
CVSS v3
6.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.1

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.

Predictions

Exploit likelihood
100%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-40129 webapps python verified
Vulnerability-Lab ยท 2016-07-20

Django CMS 3.3.0 - Editor Snippet Persistent Cross-Site Scripting

Source code queued for fetch โ€” refresh in a moment.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
debian Debian Mixed 6 releases
VersionStatusFixed in
trixie Fixed 1:1.9.8-1
sid Fixed 1:1.9.8-1
forky Fixed 1:1.9.8-1
bullseye Fixed 1:1.9.8-1
bookworm Fixed 1:1.9.8-1
8.0 Affected โ€”

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango<1.8.141.8.14
python PyPIdjango>=1.9,<1.9.81.9.8
python PyPIdjango>=1.10a1,<1.10rc11.10rc1
python PyPIdjango<f68e5a99164867ab0e071a936470958ed867479d||>=1.10a0,<1.10rc1d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158

Application impact

VendorProductVersionsFixed
djangoprojectdjango{"endIncluding":"1.8.13"}
djangoprojectdjango1.9
djangoprojectdjango1.9.0
djangoprojectdjango1.9.1
djangoprojectdjango1.9.2
djangoprojectdjango1.9.3
djangoprojectdjango1.9.4
djangoprojectdjango1.9.5
djangoprojectdjango1.9.6
djangoprojectdjango1.9.7
djangoprojectdjango1.10

References

CWEs

CWE-79

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.