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:
null,"Templates"),function(){xa.style.display="";pa.style.display="";ha.style.left="160px";X(0);ha.scrollTop=0;ha.innerText="";v=0;S!=Ia&&(Ia=S,ta=W,Ea=T,xa.innerText="",R(),S=null)});Q.push(O);k.appendChild(O);var Z=function(da){xa.style.display="none";pa.style.display="none";ha.style.left="30px";X(da?-1:1);null==S&&(S=Ia);ha.scrollTop=0;ha.innerText="";A.spin(ha);var la=function(ma,oa,ia){v=0;A.stop();Ia=ma;ia=ia||{};var ka=0,wa;for(wa in ia)ka+=ia[wa].length;if(oa)ha.innerText=oa;else if(0==ma.length&&
0==ka)ha.innerText=mxResources.get("noDiagrams",null,"No Diagrams Found");else if(ha.innerText="",0<ka){xa.style.display="";ha.style.left="160px";xa.innerText="";Ea=0;ta={"draw.io":ma};for(wa in ia)ta[wa]=ia[wa];R()}else t(!0)};da?J(Y.value,la):U(la)};U&&(O=mxUtils.button(mxResources.get("Recent",null,"Recent"),function(){Z()}),k.appendChild(O),Q.push(O));if(J){O=document.createElement("span");O.style.marginLeft="10px";O.innerText=mxResources.get("search")+":";k.appendChild(O);var Y=document.createElement("input");