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(),