Skip to content

Commit

Permalink
bugfix: avoid XSS in nodeadd (LMS #1910)
Browse files Browse the repository at this point in the history
  • Loading branch information
chilek committed Jan 17, 2021
1 parent 4b88c7e commit ae841da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/node/nodeaddbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
>{$project.name|escape}</OPTION>
{/foreach}
</SELECT>
<INPUT TYPE="TEXT" NAME="nodedata[projectname]" VALUE="{$nodedata.projectname}"
<INPUT TYPE="TEXT" NAME="nodedata[projectname]" VALUE="{$nodedata.projectname|escape}"
{tip text="Enter new project name" trigger="projectname" } id="projectname"
{if !isset($nodedata.invprojectid) || empty($nodedata.invprojectid)} style="display: none;"{/if}>

Expand Down

0 comments on commit ae841da

Please sign in to comment.