mirror of
https://github.com/Hopiu/django.git
synced 2026-03-16 22:10:24 +00:00
Added warning about flatpages and untrusted users.
This commit is contained in:
parent
f9e9526800
commit
571bab9887
1 changed files with 7 additions and 0 deletions
|
|
@ -164,6 +164,13 @@ For more on middleware, read the :doc:`middleware docs
|
|||
How to add, change and delete flatpages
|
||||
=======================================
|
||||
|
||||
.. warning::
|
||||
|
||||
Permissions to add or edit flatpages should be restricted to trusted users.
|
||||
Flatpages are defined by raw HTML and are **not sanitized** by Django. As a
|
||||
consequence, a malicious flatpage can lead to various security
|
||||
vulnerabilities, including permission escalation.
|
||||
|
||||
.. _flatpages-admin:
|
||||
|
||||
Via the admin interface
|
||||
|
|
|
|||
Loading…
Reference in a new issue