summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/templates.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt
index 3ee9a01efd..37a39c0607 100644
--- a/docs/topics/templates.txt
+++ b/docs/topics/templates.txt
@@ -36,6 +36,13 @@ For historical reasons, both the generic support for template engines and the
implementation of the Django template language live in the ``django.template``
namespace.
+.. warning::
+
+ The template system isn't safe against untrusted template authors. For
+ example, a site shouldn't allow its users to provide their own templates,
+ since template authors can do things like perform XSS attacks and access
+ properties of template variables that may contain sensitive information.
+
.. _template-engines:
Support for template engines