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:
null,null,null,!0,null,null,u,n,t);this.showDialog(d.container,620,460,!0,!1);d.init()};EditorUi.prototype.showBackgroundImageDialog=function(d,g,n,t){d=null!=d?d:mxUtils.bind(this,function(u,v,B,H){v||(u=new ChangePageSetup(this,t?B:null,u),u.ignoreColor=!t,null!=H&&t&&(u.shadowVisible=H),this.editor.graph.model.execute(u))});d=new BackgroundImageDialog(this,d,g,n,t);this.showDialog(d.container,400,t?240:220,!0,!0);d.init()};EditorUi.prototype.showLibraryDialog=function(d,g,n,t,u){d=new LibraryDialog(this,
d,g,n,t,u);this.showDialog(d.container,640,440,!0,!1,mxUtils.bind(this,function(v){v&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash()}));d.init()};var f=EditorUi.prototype.createFormat;EditorUi.prototype.createFormat=function(d){var g=f.apply(this,arguments);this.editor.graph.addListener("viewStateChanged",mxUtils.bind(this,function(n){this.editor.graph.isSelectionEmpty()&&g.refresh()}));return g};EditorUi.prototype.handleError=function(d,g,n,t,u,v,B){var H=null!=this.spinner&&