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:
this.setAttributeForCell(l[N],"tags",U.join(" "))}}}finally{this.model.endUpdate()}}};Graph.prototype.toggleCells=function(l){this.model.beginUpdate();try{for(var B=0;B<l.length;B++)this.model.setVisible(l[B],!this.model.isVisible(l[B]))}finally{this.model.endUpdate()}};Graph.prototype.setCellsVisible=function(l,B){this.model.beginUpdate();try{for(var N=0;N<l.length;N++)this.model.setVisible(l[N],B)}finally{this.model.endUpdate()}};Graph.prototype.highlightCells=function(l,B,N,Z){for(var U=0;U<l.length;U++)this.highlightCell(l[U],
B,N,Z)};Graph.prototype.highlightCell=function(l,B,N,Z,U){B=null!=B?B:mxConstants.DEFAULT_VALID_COLOR;N=null!=N?N:1E3;l=this.view.getState(l);var aa=null;null!=l&&(U=null!=U?U:4,U=Math.max(U+1,mxUtils.getValue(l.style,mxConstants.STYLE_STROKEWIDTH,1)+U),aa=new mxCellHighlight(this,B,U,!1),null!=Z&&(aa.opacity=Z),aa.highlight(l),window.setTimeout(function(){null!=aa.shape&&(mxUtils.setPrefixedStyle(aa.shape.node.style,"transition","all 1200ms ease-in-out"),aa.shape.node.style.opacity=0);window.setTimeout(function(){aa.destroy()},