Skip to content

Commit

Permalink
bugfix: avoid XSS in netdev ip forms (LMS #1910)
Browse files Browse the repository at this point in the history
  • Loading branch information
chilek committed Jun 17, 2021
1 parent 4600264 commit 168355e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/netdev/netdevipinfobox.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
</td>
<td>
{if !ConfigHelper::checkConfig('phpui.protect_passwords')}
{$nodeipdata.passwd}
{$nodeipdata.passwd|escape}
{/if}
{button type="link" icon="clipboard" class="lms-ui-button-clipboard"
data_clipboard_text="{$nodeipdata.passwd|escape}"}
Expand Down

0 comments on commit 168355e

Please sign in to comment.