@@ -22,6 +22,25 @@ permissions from the default distribution, you should check that
2222"Create" permissions exist for all properties you want users to be able
2323to create.
2424
25+ Fixing some potential security holes
26+ ------------------------------------
27+
28+ Some HTML templates were found to have formatting security problems:
29+
30+ ``html/page.html``::
31+
32+ -tal:replace="request/user/username">username</span></b><br>
33+ +tal:replace="python:request.user.username.plain(escape=1)">username</span></b><br>
34+
35+ ``html/_generic.help-list.html``::
36+
37+ -tal:content="structure python:item[prop]"></label>
38+ +tal:content="python:item[prop]"></label>
39+
40+ The lines marked "+" should be added and lines marked "-" should be
41+ deleted (minus the "+"/"-" signs).
42+
43+
2544Migrating from 1.4.x to 1.4.11
2645==============================
2746
@@ -68,6 +87,12 @@ assign it to the Anonymous role (replacing any previously assigned
6887The lines marked "+" should be added and lines marked "-" should be
6988deleted (minus the "+"/"-" signs).
7089
90+ You should also modify the ``html/page.py`` template to change the
91+ permission tested there::
92+
93+ -tal:condition="python:request.user.hasPermission('Create', 'user')"
94+ +tal:condition="python:request.user.hasPermission('Register', 'user')"
95+
7196
7297Generic class editor may now restore retired items
7398--------------------------------------------------
0 commit comments