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,"geBtn");b.editor.cancelFirst&&J.appendChild(c);null!=e&&J.appendChild(e);J.appendChild(O);b.editor.cancelFirst||J.appendChild(c);U.appendChild(J);this.init=function(){Editor.selectFilename(p)};this.container=U},CreateDialog=function(b,f,l,d,q,u,z,D,L,K,E,U,J,c,e,k,n){function p(O,P,N,H){function m(){mxEvent.addListener(v,"click",function(){var F=N;if(z){var M=C.value,Q=M.lastIndexOf(".");if(0>f.lastIndexOf(".")&&0>Q){F=null!=F?F:R.value;var S="";F==App.MODE_GOOGLE?S=b.drive.extension:F==App.MODE_GITHUB?
S=b.gitHub.extension:F==App.MODE_GITLAB?S=b.gitLab.extension:F==App.MODE_TRELLO?S=b.trello.extension:F==App.MODE_DROPBOX?S=b.dropbox.extension:F==App.MODE_ONEDRIVE?S=b.oneDrive.extension:F==App.MODE_DEVICE&&(S=".drawio");0<=Q&&(M=M.substring(0,Q));C.value=M+S}}t(N)})}var v=document.createElement("a");v.style.overflow="hidden";var A=document.createElement("img");A.src=O;A.setAttribute("border","0");A.setAttribute("align","absmiddle");A.style.width="60px";A.style.height="60px";A.style.paddingBottom=
"6px";v.style.display="inline-block";v.className="geBaseButton";v.style.position="relative";v.style.margin="4px";v.style.padding="8px 8px 10px 8px";v.style.whiteSpace="nowrap";v.appendChild(A);v.style.color="gray";v.style.fontSize="11px";var I=document.createElement("div");v.appendChild(I);mxUtils.write(I,P);if(null!=H&&null==b[H]){A.style.visibility="hidden";mxUtils.setOpacity(I,10);var g=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,
top:"40%",zIndex:2E9});g.spin(v);var x=window.setTimeout(function(){null==b[H]&&(g.stop(),v.style.display="none")},3E4);b.addListener("clientLoaded",mxUtils.bind(this,function(){null!=b[H]&&(window.clearTimeout(x),mxUtils.setOpacity(I,100),A.style.visibility="",g.stop(),m())}))}else m();B.appendChild(v);++V==U&&(mxUtils.br(B),V=0)}function t(O){var P=C.value;if(null==O||null!=P&&0<P.length)n&&b.hideDialog(),l(P,O,C)}E="1"==urlParams.noDevice?!1:E;z=null!=z?z:!0;D=null!=D?D:!0;U=null!=U?U:4;n=null!=