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:
"auto"==za&&1==wa.length){N.view.validate();var db=new mxHierarchicalLayout(N,"horizontalflow"==za?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH);db.intraCellSpacing=ba;db.parallelEdgeSpacing=aa;db.interRankCellSpacing=ia;db.disableEdgeStyle=!1;this.executeLayout(function(){db.execute(N.getDefaultParent(),sa);N.moveCells(sa,xa,Ca)},!0,ra);ra=null}else if("orgchart"==za){N.view.validate();var lb=new mxOrgChartLayout(N,2,ia,ba),kb=lb.isVertexIgnored;lb.isVertexIgnored=function(jb){return kb.apply(this,
arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){lb.execute(N.getDefaultParent());Ra()},!0,ra);ra=null}else if("organic"==za||"auto"==za&&sa.length>B.length){N.view.validate();var Pa=new mxFastOrganicLayout(N);Pa.forceConstant=3*ba;Pa.disableEdgeStyle=!1;Pa.resetEdges=!1;var eb=Pa.isVertexIgnored;Pa.isVertexIgnored=function(jb){return eb.apply(this,arguments)||0>mxUtils.indexOf(B,jb)};this.executeLayout(function(){Pa.execute(N.getDefaultParent());Ra()},!0,ra);ra=null}}this.hideDialog()}finally{N.model.endUpdate()}null!=