Catatan terbitan Django 1.7.6Link to this heading
Maret 9, 2015
Django 1.7.6 memperbaiki beberapa kesalahan dan masalah keamanan di 1.7.5.
Mitigated an XSS attack via properties in ModelAdmin.readonly_fieldsLink to this heading
The ModelAdmin.readonly_fields attribute in the Django
admin allows displaying model fields and model attributes. While the former
were correctly escaped, the latter were not. Thus untrusted content could be
injected into the admin, presenting an exploitation vector for XSS attacks.
In this vulnerability, every model attribute used in readonly_fields that
is not an actual model field (e.g. a property) will fail to be
escaped even if that attribute is not marked as safe. In this release,
autoescaping is now correctly applied.