Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
function(l){this.model.beginUpdate();try{for(var A=0;A<l.length;A++)this.model.setVisible(l[A],!this.model.isVisible(l[A]))}finally{this.model.endUpdate()}};Graph.prototype.setCellsVisible=function(l,A){this.model.beginUpdate();try{for(var O=0;O<l.length;O++)this.model.setVisible(l[O],A)}finally{this.model.endUpdate()}};Graph.prototype.highlightCells=function(l,A,O,X){for(var U=0;U<l.length;U++)this.highlightCell(l[U],A,O,X)};Graph.prototype.highlightCell=function(l,A,O,X,U){A=null!=A?A:mxConstants.DEFAULT_VALID_COLOR;
O=null!=O?O: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,A,U,!1),null!=X&&(aa.opacity=X),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()},1200)},O));return aa};Graph.prototype.addSvgShadow=function(l,A,O,X){O=