Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
null,B));if(null!=l.excludeCells){for(var N=[],Z=0;Z<B.length;Z++)0>l.excludeCells.indexOf(B[Z].id)&&N.push(B[Z]);B=N}return B};Graph.prototype.getCellsById=function(l){var B=[];if(null!=l)for(var N=0;N<l.length;N++)if("*"==l[N]){var Z=this.model.getRoot();B=B.concat(this.model.filterDescendants(function(aa){return aa!=Z},Z))}else{var U=this.model.getCell(l[N]);null!=U&&B.push(U)}return B};var ma=Graph.prototype.isCellVisible;Graph.prototype.isCellVisible=function(l){return ma.apply(this,arguments)&&
!this.isAllTagsHidden(this.getTagsForCell(l))};Graph.prototype.setHiddenTags=function(l){this.hiddenTags=l;this.fireEvent(new mxEventObject("hiddenTagsChanged"))};Graph.prototype.toggleHiddenTag=function(l){var B=mxUtils.indexOf(this.hiddenTags,l);0>B?this.hiddenTags.push(l):0<=B&&this.hiddenTags.splice(B,1);this.fireEvent(new mxEventObject("hiddenTagsChanged"))};Graph.prototype.isAllTagsHidden=function(l){if(null==l||0==l.length||0==this.hiddenTags.length)return!1;l=l.split(" ");if(l.length>this.hiddenTags.length)return!1;