PyPA Advisory Database
PYSEC-2015-8
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django | All versions before 1.7.6 (fixed in 1.7.6) From 1.8a1 before 1.8b2 (fixed in 1.8b2) |