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:
mxUtils.getTextContent(Z[Y]);W=b.stringToCells(Graph.decompress(A));var da=b.editor.graph.getBoundingBoxFromGeometry(W);y(null,null,0,0,0,0,{xml:A,w:da.width,h:da.height})}J=!0}}catch(ba){null!=window.console&&console.log("Error in library dialog: "+ba)}J||(b.spinner.stop(),b.handleError({message:mxResources.get("errorLoadingFile")}))}}catch(ba){null!=window.console&&console.log("Error in library dialog: "+ba)}return null}function E(T){T.dataTransfer.dropEffect=null!=t?"move":"copy";T.stopPropagation();
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)||