Skip to content

Commit

Permalink
Quote variable in manage_tabs to avoid XSS.
Browse files Browse the repository at this point in the history
From Products.PloneHotfix20160830.
  • Loading branch information
mauritsvanrees committed Sep 7, 2016
1 parent 4dfc8e7 commit 48eef20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Changelog
2.0.1 (unreleased)
------------------

- Nothing changed yet.
- Quote variable in manage_tabs to avoid XSS.
From Products.PloneHotfix20160830. [maurits]


2.0.0 (2015-09-09)
Expand Down
2 changes: 1 addition & 1 deletion Products/ExternalEditor/manage_tabs.dtml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,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>
Expand Down

0 comments on commit 48eef20

Please sign in to comment.