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