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:
M.substring(0,11)?d.loadImage(M,mxUtils.bind(this,function(P){var Q=!0,U=mxUtils.bind(this,function(){d.resizeImage(P,M,mxUtils.bind(this,function(T,W,X){T=Q?Math.min(1,Math.min(d.maxImageSize/W,d.maxImageSize/X)):1;d.importFile(M,K,y,G,Math.round(W*T),Math.round(X*T),O,function(Y){d.spinner.stop();u.setSelectionCells(Y);u.scrollCellToVisible(u.getSelectionCell())})}),Q)});M.length>d.resampleThreshold?d.confirmImageResize(function(T){Q=T;U()}):U()}),mxUtils.bind(this,function(){d.handleError({message:mxResources.get("cannotOpenFile")})})):