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:
"...",function(){var Z=[{layout:"mxOrgChartLayout",config:{branchOptimizer:parseInt(P.value),parentChildSpacing:parseInt(U.value),siblingSpacing:parseInt(X.value)}}];d.hideDialog();d.showCustomLayoutDialog(JSON.stringify(Z,null,2))});M.className="geBtn";F=new CustomDialog(d,F,function(){null==B&&(B=2);d.loadOrgChartLayouts(x)},null,null,null,M);d.showDialog(F.container,355,140,!0,!0)},v,null,u());m.addSeparator(v);m.addItem(mxResources.get("parallels"),null,mxUtils.bind(this,function(){d.tryAndHandle(mxUtils.bind(this,
function(){var B=new mxParallelEdgeLayout(q);B.checkOverlap=!0;d.prompt(mxResources.get("spacing"),B.spacing,mxUtils.bind(this,function(H){d.tryAndHandle(mxUtils.bind(this,function(){B.spacing=H;d.executeLayout(function(){B.execute(q.getDefaultParent(),q.isSelectionEmpty()?null:q.getSelectionCells())},!1)}))}))}))}),v);m.addSeparator(v);d.menus.addMenuItem(m,"runLayout",v,null,null,mxResources.get("custom")+"...")};this.put("help",new Menu(mxUtils.bind(this,function(m,v){if(!mxClient.IS_CHROMEAPP&&