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:
Graph.prototype.highlightCells=function(g,x,F,M){for(var Q=0;Q<g.length;Q++)this.highlightCell(g[Q],x,F,M)};Graph.prototype.highlightCell=function(g,x,F,M,Q){x=null!=x?x:mxConstants.DEFAULT_VALID_COLOR;F=null!=F?F:1E3;g=this.view.getState(g);var S=null;null!=g&&(Q=null!=Q?Q:4,Q=Math.max(Q+1,mxUtils.getValue(g.style,mxConstants.STYLE_STROKEWIDTH,1)+Q),S=new mxCellHighlight(this,x,Q,!1),null!=M&&(S.opacity=M),S.highlight(g),window.setTimeout(function(){null!=S.shape&&(mxUtils.setPrefixedStyle(S.shape.node.style,