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:
if(null!=v.hoverIcons){var C=v.hoverIcons.update;v.hoverIcons.update=function(){B.freehand.isDrawing()||C.apply(this,arguments)}}if(null!=B.freehand){var J=B.freehand.createStyle;B.freehand.createStyle=function(V){return J.apply(this,arguments)+"sketch=0;"}}v.editor.addListener("statusChanged",mxUtils.bind(this,function(){v.setStatusText(v.editor.getStatus())}));v.setStatusText(v.editor.getStatus());var F=v.menus.get("viewZoom");if(null!=F){var O=function(V){if(mxEvent.isAltDown(V))v.hideCurrentMenu(),
v.actions.get("customZoom").funct(),mxEvent.consume(V);else if("geMenuItem"==mxEvent.getSource(V).className||mxEvent.isShiftDown(V))v.hideCurrentMenu(),v.actions.get("smartFit").funct(),mxEvent.consume(V)},S=v.actions.get("zoomIn"),K=v.actions.get("zoomOut"),R=v.actions.get("resetView"),m=v.actions.get("undo"),A=v.actions.get("redo"),M=d("",m.funct,null,mxResources.get("undo")+" ("+m.shortcut+")",m,Editor.undoImage),Q=d("",A.funct,null,mxResources.get("redo")+" ("+A.shortcut+")",A,Editor.redoImage),