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(){return this.openLink("mailto:"+mxUtils.htmlEntities(I.ownerEmail))}));this.showError(e,x,A,g,S,null,null,t,n,null,null,null,q?g:null)}else null!=g&&g()};EditorUi.prototype.alert=function(c,e,g){c=new ErrorDialog(this,null,c,mxResources.get("ok"),e);this.showDialog(c.container,g||340,100,!0,!1);c.init()};EditorUi.prototype.confirm=function(c,e,g,q,p,t){c=null!=c?c:"";var x=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},B=Math.min(220,28*Math.ceil(Math.max(1,
c.length)/50));c=new ConfirmDialog(this,c,function(){x();null!=e&&e()},function(){x();null!=g&&g()},q,p,null,null,null,null,B);this.showDialog(c.container,340,46+B,!0,t);c.init()};EditorUi.prototype.showBanner=function(c,e,g,q,p,t,x,B,I){var A=!1;if(!(this.bannerShowing||this["hideBanner"+c]||isLocalStorage&&null!=mxSettings.settings&&null!=mxSettings.settings["close"+c])){t=null!=t?t:"bottom:10px;left:50%;";x=null!=x?x:"translate(-50%,120%)";B=null!=B?B:"translate(-50%,0%)";var S=p?500:1E3;A=p?"padding:4px;border-radius:6px;font-size:11px;height:12px;font-weight:normal;":