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:
function(){b.spinner.stop();d(null);b.showError(mxResources.get("error"),mxResources.get("fileNotFound"),mxResources.get("ok"))}):(b.hideDialog(),d(x,null,null,J,c,e)):(x=b.convertDataUri(x),B=null==B?120:B,I=null==I?100:I,b.hideDialog(),d(x,B,I,J,c,e))},q=function(x,B){if(null!=x){var I=u?null:N.getModel().getGeometry(N.getSelectionCell());null!=I?g(x,I.width,I.height,B):g(x,null,null,B)}else b.hideDialog(),d(null)};this.init=function(){R.focus();if(Graph.fileSupport){R.setAttribute("placeholder",