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!=this.globalVars?mxUtils.clone(this.globalVars):{};var l=JSON.parse(decodeURIComponent(urlParams.vars));if(null!=l)for(var B in l)this.globalVars[B]=l[B]}catch(N){null!=window.console&&console.log("Error in vars URL parameter: "+N)}};Graph.prototype.getExportVariables=function(){return null!=this.globalVars?mxUtils.clone(this.globalVars):{}};var H=Graph.prototype.getGlobalVariable;Graph.prototype.getGlobalVariable=function(l){var B=H.apply(this,arguments);null==B&&null!=this.globalVars&&(B=this.globalVars[l]);
return B};Graph.prototype.getDefaultStylesheet=function(){if(null==this.defaultStylesheet){var l=this.themes["default-style2"];this.defaultStylesheet=(new mxCodec(l.ownerDocument)).decode(l)}return this.defaultStylesheet};Graph.prototype.isViewer=function(){return urlParams.viewer};var J=Graph.prototype.getSvg;Graph.prototype.getSvg=function(l,B,N,Z,U,aa,Y,ka,qa,ra,pa,wa,Ca,Ba){var ya=null,Oa=null,Qa=null;wa||null==this.themes||"darkTheme"!=this.defaultThemeName||(ya=this.stylesheet,Oa=this.shapeForegroundColor,