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 va=function(wa){qa&&b.sidebar.currentElt==da&&ia(wa,mxEvent.getClientX(ma),mxEvent.getClientY(ma));qa=!1;la.src="/images/icon-search.svg"};b.sidebar.hideTooltip();b.sidebar.currentElt=da;qa=!0;la.src="/images/aui-wait.gif";ka.isExt?L(ka,va,function(){k(mxResources.get("cantLoadPrev"));qa=!1;la.src="/images/icon-search.svg"}):oa(ka.url,va)}}function y(ka,da,la){if(null!=M){for(var ma=M.className.split(" "),oa=0;oa<ma.length;oa++)if(-1<ma[oa].indexOf("Active")){ma.splice(oa,1);break}M.className=
ma.join(" ")}null!=ka?(M=ka,M.className+=" "+da,P=la,na.className="geTempDlgCreateBtn"):(P=M=null,na.className="geTempDlgCreateBtn geTempDlgBtnDisabled")}function A(ka,da){if(null!=P){var la=function(va){ja.isExternal?L(ja,function(wa){ma(wa,va)},oa):ja.url?mxUtils.get(TEMPLATE_PATH+"/"+ja.url,mxUtils.bind(this,function(wa){200<=wa.getStatus()&&299>=wa.getStatus()?ma(wa.getText(),va):oa()})):ma(b.emptyDiagramXml,va)},ma=function(va,wa){e||b.hideDialog(!0);f(va,wa,ja,da)},oa=function(){k(mxResources.get("cannotLoad"));