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(d,f,k,v){d=null!=d?d:mxUtils.bind(this,function(z,A,H,J){A||(z=new ChangePageSetup(this,v?H:null,z),z.ignoreColor=!v,null!=J&&v&&(z.shadowVisible=J),this.editor.graph.model.execute(z))});d=new BackgroundImageDialog(this,d,f,k,v);this.showDialog(d.container,400,v?240:220,!0,!0);d.init()};EditorUi.prototype.showLibraryDialog=function(d,f,k,v,z){d=new LibraryDialog(this,d,f,k,v,z);this.showDialog(d.container,640,440,!0,!1,mxUtils.bind(this,function(A){A&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&