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