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:
mxUtils.bind(this,function(fa){q(100)}));mxEvent.addListener(e,"mousemove",mxUtils.bind(this,function(fa){q(100);mxEvent.consume(fa)}));mxEvent.addListener(e,"mouseleave",mxUtils.bind(this,function(fa){mxEvent.isTouchEvent(fa)||q(30)}));var E=this.graph,M=E.getTolerance();E.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(fa,ca){this.startX=ca.getGraphX();this.startY=ca.getGraphY();this.scrollLeft=E.container.scrollLeft;this.scrollTop=E.container.scrollTop},mouseMove:function(fa,
ca){},mouseUp:function(fa,ca){mxEvent.isTouchEvent(ca.getEvent())&&Math.abs(this.scrollLeft-E.container.scrollLeft)<M&&Math.abs(this.scrollTop-E.container.scrollTop)<M&&Math.abs(this.startX-ca.getGraphX())<M&&Math.abs(this.startY-ca.getGraphY())<M&&(0<parseFloat(e.style.opacity||0)?y():q(30))}})}for(var T=this.toolbarItems,F=0,K=mxUtils.bind(this,function(fa,ca,ia,ma){fa=this.createToolbarButton(fa,ca,ia,ma);e.appendChild(fa);F++;return fa}),R=null,W=null,d=null,f=null,k=0;k<T.length;k++){var v=T[k];