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();