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