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:
V.preventDefault()}function K(V){V.stopPropagation();V.preventDefault();C=!1;p=z(V);if(null!=n)null!=p&&p<c.children.length?(E.splice(p>n?p-1:p,0,E.splice(n,1)[0]),c.insertBefore(c.children[n],c.children[p])):(E.push(E.splice(n,1)[0]),c.appendChild(c.children[n]));else if(0<V.dataTransfer.files.length)b.importFiles(V.dataTransfer.files,0,0,b.maxImageSize,G(V));else if(0<=mxUtils.indexOf(V.dataTransfer.types,"text/uri-list")){var R=decodeURIComponent(V.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(O){D(R,null,0,0,O.width,O.height);c.scrollTop=c.scrollHeight})}V.stopPropagation();V.preventDefault()}var E=[];l=document.createElement("div");l.style.height="100%";var U=document.createElement("div");U.style.whiteSpace="nowrap";U.style.height="40px";l.appendChild(U);mxUtils.write(U,mxResources.get("filename")+":");null==f&&(f=b.defaultLibraryName+".xml");var J=document.createElement("input");J.setAttribute("value",