Language: JavaScript
Label: vulnerable
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]);T=b.stringToCells(Graph.decompress(x));var ba=b.editor.graph.getBoundingBoxFromGeometry(T);D(null,null,0,0,0,0,{xml:x,w:ba.width,h:ba.height})}Q=!0}}catch(fa){null!=window.console&&console.log("Error in library dialog: "+fa)}Q||(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();A=!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 S=decodeURIComponent(V.dataTransfer.getData("text/uri-list"));(/(\.jpg)($|\?)/i.test(S)||