VDB
Sign up
—

PYSEC-2015-8

Quick fix

PYSEC-2015-8 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=1.7.6'

Details

Cross-site scripting (XSS) vulnerability in the contents function in admin/helpers.py in Django before 1.7.6 and 1.8 before 1.8b2 allows remote attackers to inject arbitrary web script or HTML via a model attribute in ModelAdmin.readonly_fields, as demonstrated by a @property.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References