ADVISORIES

GitHub Advisory Database

GHSA-c8c8-9472-w52h

Django Cross-site scripting Vulnerability

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.

Affected packages

EcosystemPackageAffected versions
PyPIdjango
All versions before 1.8.14 (fixed in 1.8.14)
PyPIdjango
From 1.9 before 1.9.8 (fixed in 1.9.8)
PyPIdjango
From 1.10a1 before 1.10rc1 (fixed in 1.10rc1)

References