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(Y[Z]);V=b.stringToCells(Graph.decompress(y));var ea=b.editor.graph.getBoundingBoxFromGeometry(V);F(null,null,0,0,0,0,{xml:y,w:ea.width,h:ea.height})}E=!0}}catch(fa){null!=window.console&&console.log("Error in library dialog: "+fa)}E||(b.spinner.stop(),b.handleError({message:mxResources.get("errorLoadingFile")}))}}catch(fa){null!=window.console&&console.log("Error in library dialog: "+fa)}return null}function K(T){T.dataTransfer.dropEffect=null!=q?"move":"copy";T.stopPropagation();
T.preventDefault()}function M(T){T.stopPropagation();T.preventDefault();C=!1;p=D(T);if(null!=q)null!=p&&p<c.children.length?(G.splice(p>q?p-1:p,0,G.splice(q,1)[0]),c.insertBefore(c.children[q],c.children[p])):(G.push(G.splice(q,1)[0]),c.appendChild(c.children[q]));else if(0<T.dataTransfer.files.length)b.importFiles(T.dataTransfer.files,0,0,b.maxImageSize,I(T));else if(0<=mxUtils.indexOf(T.dataTransfer.types,"text/uri-list")){var l=decodeURIComponent(T.dataTransfer.getData("text/uri-list"));(/(\.jpg)($|\?)/i.test(l)||