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:
else{var wa=function(xa){pa&&b.sidebar.currentElt==fa&&ia(xa,mxEvent.getClientX(na),mxEvent.getClientY(na));pa=!1;ma.src="/images/icon-search.svg"};b.sidebar.hideTooltip();b.sidebar.currentElt=fa;pa=!0;ma.src="/images/aui-wait.gif";ka.isExt?E(ka,wa,function(){n(mxResources.get("cantLoadPrev"));pa=!1;ma.src="/images/icon-search.svg"}):oa(ka.url,wa)}}function B(ka,fa,ma){if(null!=O){for(var na=O.className.split(" "),oa=0;oa<na.length;oa++)if(-1<na[oa].indexOf("Active")){na.splice(oa,1);break}O.className=
na.join(" ")}null!=ka?(O=ka,O.className+=" "+fa,T=ma,la.className="geTempDlgCreateBtn"):(T=O=null,la.className="geTempDlgCreateBtn geTempDlgBtnDisabled")}function F(ka,fa){if(null!=T){var ma=function(wa){ja.isExternal?E(ja,function(xa){na(xa,wa)},oa):ja.url?mxUtils.get(TEMPLATE_PATH+"/"+ja.url,mxUtils.bind(this,function(xa){200<=xa.getStatus()&&299>=xa.getStatus()?na(xa.getText(),wa):oa()})):na(b.emptyDiagramXml,wa)},na=function(wa,xa){g||b.hideDialog(!0);e(wa,xa,ja,fa)},oa=function(){n(mxResources.get("cannotLoad"));