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