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:
if("["==aa.charAt(0)){var oa=Z;G.view.validate();this.executeLayouts(G.createLayouts(JSON.parse(aa)),function(){ma();oa()});Z=null}else if("circle"==aa){var ia=new mxCircleLayout(G);ia.disableEdgeStyle=!1;ia.resetEdges=!1;var ka=ia.isVertexIgnored;ia.isVertexIgnored=function(Ca){return ka.apply(this,arguments)||0>mxUtils.indexOf(t,Ca)};this.executeLayout(function(){ia.execute(G.getDefaultParent());ma()},!0,Z);Z=null}else if("horizontaltree"==aa||"verticaltree"==aa||"auto"==aa&&Ua.length==2*t.length-