VDB
Sign up
—

PYSEC-2016-2

Quick fix

PYSEC-2016-2 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 0Fixed in: d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158
Fixpip install --upgrade 'django>=d03bf6fe4e9bf5b07de62c1a271c4b41a7d3d158'

References