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:
if(null==na&&(ia=oa.indexOf("/"),na=oa.substring(0,ia),null==ma)){var ja=oa.indexOf("/",ia+1);-1<ja&&(ma=oa.substring(ia+1,ja))}ia=Ga[na];null==ia&&(Ra++,ia=[],Ga[na]=ia);oa=ka.getAttribute("clibs");null!=fa[oa]&&(oa=fa[oa]);oa={url:ka.getAttribute("url"),libs:ka.getAttribute("libs"),title:ka.getAttribute("title")||ka.getAttribute("name"),preview:ka.getAttribute("preview"),clibs:oa,tags:ka.getAttribute("tags")};ia.push(oa);null!=ma&&(ia=Ea[na],null==ia&&(ia={},Ea[na]=ia),na=ia[ma],null==na&&(na=[],
ia[ma]=na),na.push(oa))}ka=ka.nextSibling}U(Ga,Qa,Ia)}})}function P(ka){u&&(Ba.scrollTop=0,ba.innerText="",Fa.spin(ba),m=!1,L=!0,sa.innerText=mxResources.get("recentDiag"),Y=null,u(Va,function(){n(mxResources.get("cannotLoad"));Va([])},ka?null:l))}function R(ka){if(""==ka)null!=J&&(J.click(),J=null);else{if(null==TemplatesDialog.tagsList[c]){var fa={};for(Ka in Ga)for(var ma=Ga[Ka],na=0;na<ma.length;na++){var oa=ma[na];if(null!=oa.tags)for(var ia=oa.tags.toLowerCase().split(";"),ja=0;ja<ia.length;ja++)null==