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:
G=y.editor.graph;if(G.isEnabled()){var P=y.getCurrentFile();null!=P&&P.isAutosaveOptional()&&k.appendChild(this.createOption(mxResources.get("autosave"),function(){return y.editor.autosave},function(T){y.editor.setAutosave(T);y.editor.autosave&&P.isModified()&&P.fileChanged()},{install:function(T){this.listener=function(){T(y.editor.autosave)};y.editor.addListener("autosaveChanged",this.listener)},destroy:function(){y.editor.removeListener(this.listener)}}))}if(this.isMathOptionVisible()&&G.isEnabled()&&