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.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible)};Editor.prototype.useCanvasForExport=!1;try{var K=document.createElement("canvas"),R=new Image;R.onload=function(){try{K.getContext("2d").drawImage(R,0,0);var m=K.toDataURL("image/png");Editor.prototype.useCanvasForExport=null!=m&&6<m.length}catch(A){}};R.src="data:image/svg+xml;base64,"+