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:
Editor.prototype.isExportToCanvas=function(){return mxClient.IS_CHROMEAPP||this.useCanvasForExport};Editor.prototype.getMaxCanvasScale=function(g,y,H){var O=mxClient.IS_FF?8192:16384;return Math.min(H,Math.min(O/g,O/y))};Editor.prototype.exportToCanvas=function(g,y,H,O,P,V,R,W,X,Z,Y,ea,fa,na,da,za,Ca,Ba){try{V=null!=V?V:!0;R=null!=R?R:!0;ea=null!=ea?ea:this.graph;fa=null!=fa?fa:0;var ba=X?null:ea.background;ba==mxConstants.NONE&&(ba=null);null==ba&&(ba=O);null==ba&&0==X&&(ba=za?this.graph.defaultPageBackgroundColor: