Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
debe7079
Commit
debe7079
authored
Sep 07, 2016
by
Hanno Schlichting
Committed by
GitHub
Sep 07, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68 from zopefoundation/apply-plone-hotfix-20160830-master
Quote variable in manage_tabs to avoid XSS [master]
parents
84272f2a
8aa8b081
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
CHANGES.rst
CHANGES.rst
+3
-0
src/App/dtml/manage_tabs.dtml
src/App/dtml/manage_tabs.dtml
+6
-6
No files found.
CHANGES.rst
View file @
debe7079
...
...
@@ -11,6 +11,9 @@ https://zope.readthedocs.io/en/2.13/CHANGES.html
Bugs Fixed
++++++++++
- Quote variable in manage_tabs to avoid XSS.
From Products.PloneHotfix20160830. [maurits]
- Remove more HelpSys references.
Features Added
...
...
src/App/dtml/manage_tabs.dtml
View file @
debe7079
...
...
@@ -38,8 +38,8 @@
<dtml-in manage_options mapping>
<dtml-let s_item=sequence-item s_index=sequence-index>
<dtml-if "s_index==a_">
<td bgcolor="#ffffff" valign="bottom" class="tab-small"
align="center"><font face="Verdana, Arial, Helvetica"
<td bgcolor="#ffffff" valign="bottom" class="tab-small"
align="center"><font face="Verdana, Arial, Helvetica"
size="1" color="#000000"> <a <dtml-if "s_item.get('action')"
>href="&dtml-action;"<dtml-else
>href="<dtml-var "REQUEST.URL1" html_quote>"</dtml-if
...
...
@@ -47,8 +47,8 @@
>><span style="color: #000000;"><strong><dtml-var "s_item['label']"
></strong></span></a> </font></td>
<dtml-else>
<td bgcolor="#efefef" valign="bottom" class="tab-small"
align="center"><font face="Verdana, Arial, Helvetica"
<td bgcolor="#efefef" valign="bottom" class="tab-small"
align="center"><font face="Verdana, Arial, Helvetica"
size="1" color="#000000"> <a <dtml-if "s_item.get('action')"
>href="&dtml-action;"<dtml-else
>href="<dtml-var "REQUEST.URL1" html_quote>"</dtml-if
...
...
@@ -82,7 +82,7 @@
&dtml-meta_type;
<dtml-else>
Object
</dtml-if>
</dtml-if>
at <dtml-var expr="tabs_path_default(REQUEST)">
</strong>
<dtml-if wl_isLocked>
...
...
@@ -97,7 +97,7 @@
<dtml-if manage_tabs_message>
<div class="system-msg">
<dtml-var manage_tabs_message newline_to_br
>
<dtml-var manage_tabs_message newline_to_br
html_quote>
(<dtml-var ZopeTime fmt="%Y-%m-%d %H:%M">)
</div>
</dtml-if>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment