Language: JavaScript
Label: vulnerable
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 P=0;P<g.length;P++)this.highlightCell(g[P],x,F,M)};Graph.prototype.highlightCell=function(g,x,F,M,P){x=null!=x?x:mxConstants.DEFAULT_VALID_COLOR;F=null!=F?F:1E3;g=this.view.getState(g);var T=null;null!=g&&(P=null!=P?P:4,P=Math.max(P+1,mxUtils.getValue(g.style,mxConstants.STYLE_STROKEWIDTH,1)+P),T=new mxCellHighlight(this,x,P,!1),null!=M&&(T.opacity=M),T.highlight(g),window.setTimeout(function(){null!=T.shape&&(mxUtils.setPrefixedStyle(T.shape.node.style,
"transition","all 1200ms ease-in-out"),T.shape.node.style.opacity=0);window.setTimeout(function(){T.destroy()},1200)},F));return T};Graph.prototype.addSvgShadow=function(g,x,F,M){F=null!=F?F:!1;M=null!=M?M:!0;var P=g.ownerDocument,T=null!=P.createElementNS?P.createElementNS(mxConstants.NS_SVG,"filter"):P.createElement("filter");T.setAttribute("id",this.shadowId);var W=null!=P.createElementNS?P.createElementNS(mxConstants.NS_SVG,"feGaussianBlur"):P.createElement("feGaussianBlur");W.setAttribute("in",