Skip to content

Django Cross-site scripting Vulnerability

Moderate severity GitHub Reviewed Published May 14, 2022 to the GitHub Advisory Database • Updated Mar 7, 2024

Package

pip django (pip)

Affected versions

< 1.8.14
>= 1.9, < 1.9.8
>= 1.10a1, < 1.10rc1

Patched versions

1.8.14
1.9.8
1.10rc1

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.

References

Published by the National Vulnerability Database Aug 5, 2016
Published to the GitHub Advisory Database May 14, 2022
Reviewed Jul 31, 2023
Last updated Mar 7, 2024

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2016-6186

GHSA ID

GHSA-c8c8-9472-w52h

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.