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