Language: JavaScript
Label: vulnerable
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(Z[Y]);U=b.stringToCells(Graph.decompress(y));var ca=b.editor.graph.getBoundingBoxFromGeometry(U);F(null,null,0,0,0,0,{xml:y,w:ca.width,h:ca.height})}C=!0}}catch(ha){null!=window.console&&console.log("Error in library dialog: "+ha)}C||(b.spinner.stop(),b.handleError({message:mxResources.get("errorLoadingFile")}))}}catch(ha){null!=window.console&&console.log("Error in library dialog: "+ha)}return null}function L(S){S.dataTransfer.dropEffect=null!=q?"move":"copy";S.stopPropagation();