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:
U.preventDefault()}function D(U){U.stopPropagation();U.preventDefault();G=!1;t=u(U);if(null!=q)null!=t&&t<d.children.length?(A.splice(t>q?t-1:t,0,A.splice(q,1)[0]),d.insertBefore(d.children[q],d.children[t])):(A.push(A.splice(q,1)[0]),d.appendChild(d.children[q]));else if(0<U.dataTransfer.files.length)b.importFiles(U.dataTransfer.files,0,0,b.maxImageSize,I(U));else if(0<=mxUtils.indexOf(U.dataTransfer.types,"text/uri-list")){var R=decodeURIComponent(U.dataTransfer.getData("text/uri-list"));(/(\.jpg)($|\?)/i.test(R)||
/(\.png)($|\?)/i.test(R)||/(\.gif)($|\?)/i.test(R)||/(\.svg)($|\?)/i.test(R))&&b.loadImage(R,function(N){v(R,null,0,0,N.width,N.height);d.scrollTop=d.scrollHeight})}U.stopPropagation();U.preventDefault()}var A=[];f=document.createElement("div");f.style.height="100%";var L=document.createElement("div");L.style.whiteSpace="nowrap";L.style.height="40px";f.appendChild(L);mxUtils.write(L,mxResources.get("filename")+":");null==e&&(e=b.defaultLibraryName+".xml");var H=document.createElement("input");H.setAttribute("value",