티스토리 수익 글 보기
Django 1.7.6 release notes¶
March 9, 2015
Django 1.7.6 fixes a security issue and several bugs in 1.7.5.
Mitigated an XSS attack via properties in ModelAdmin.readonly_fields¶
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.
Additional Information
Support Django!
Contents
Getting help
- FAQ
- Try the FAQ — it’s got answers to many common questions.
- Index, Module Index, or Table of Contents
- Handy when looking for specific information.
- Django Discord Server
- Join the Django Discord Community.
- Official Django Forum
- Join the community on the Django Forum.
- Ticket tracker
- Report bugs with Django or Django documentation in our ticket tracker.
Download:
Offline (Django 4.1):
HTML |
PDF |
ePub
Provided by Read the Docs.