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]);W=b.stringToCells(Graph.decompress(z));var aa=b.editor.graph.getBoundingBoxFromGeometry(W);v(null,null,0,0,0,0,{xml:z,w:aa.width,h:aa.height})}P=!0}}catch(ca){null!=window.console&&console.log("Error in library dialog: "+ca)}P||(b.spinner.stop(),b.handleError({message:mxResources.get("errorLoadingFile")}))}}catch(ca){null!=window.console&&console.log("Error in library dialog: "+ca)}return null}function E(U){U.dataTransfer.dropEffect=null!=q?"move":"copy";U.stopPropagation();
U.preventDefault()}function D(U){U.stopPropagation();U.preventDefault();G=!1;t=u(U);if(null!=q)null!=t&&t<d.children.length?(A.splice(t>q?t-1:t,0,A.splice(q,1)[0]),d.insertBefore(d.children[q],d.children[t])):(A.push(A.splice(q,1)[0]),d.appendChild(d.children[q]));else if(0<U.dataTransfer.files.length)b.importFiles(U.dataTransfer.files,0,0,b.maxImageSize,I(U));else if(0<=mxUtils.indexOf(U.dataTransfer.types,"text/uri-list")){var R=decodeURIComponent(U.dataTransfer.getData("text/uri-list"));(/(\.jpg)($|\?)/i.test(R)||