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:
this.editor.graph.setBackgroundImage;var G=this.pages[0];this.currentPage==G?D.setBackgroundImage(F):null!=G.viewState&&null!=G.viewState&&(F=G.viewState.backgroundImage,D.setBackgroundImage(F));D.getGlobalVariable=function(l){return"page"==l?G.getName():"pagenumber"==l?1:M.apply(this,arguments)};D.getGlobalVariable=M;document.body.appendChild(D.container);D.model.setRoot(G.root)}if(mxClient.IS_CHROMEAPP||this.useCanvasForExport)this.editor.exportToCanvas(mxUtils.bind(this,function(l){try{D!=this.editor.graph&&