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