Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

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