Skip to content

Commit

Permalink
Add HTML encoding in AlfBreadcrumb to avoid XSS issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpage-alfresco committed Oct 3, 2017
1 parent b45012d commit 34fccbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ define(["dojo/_base/declare",
postCreate: function alfresco_documentlibrary_AlfBreadcrumb__postCreate() {
if (this.label)
{
this.breadcrumbNode.innerHTML = this.message(this.label);
this.breadcrumbNode.innerHTML = this.encodeHTML(this.message(this.label));
}
},

Expand Down

0 comments on commit 34fccbd

Please sign in to comment.