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:
"mousemove",function(da){mxEvent.consume(da)});mxEvent.addListener(e,"mouseenter",mxUtils.bind(this,function(da){q(100)}));mxEvent.addListener(e,"mousemove",mxUtils.bind(this,function(da){q(100);mxEvent.consume(da)}));mxEvent.addListener(e,"mouseleave",mxUtils.bind(this,function(da){mxEvent.isTouchEvent(da)||q(30)}));var E=this.graph,K=E.getTolerance();E.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(da,ca){this.startX=ca.getGraphX();this.startY=ca.getGraphY();this.scrollLeft=
E.container.scrollLeft;this.scrollTop=E.container.scrollTop},mouseMove:function(da,ca){},mouseUp:function(da,ca){mxEvent.isTouchEvent(ca.getEvent())&&Math.abs(this.scrollLeft-E.container.scrollLeft)<K&&Math.abs(this.scrollTop-E.container.scrollTop)<K&&Math.abs(this.startX-ca.getGraphX())<K&&Math.abs(this.startY-ca.getGraphY())<K&&(0<parseFloat(e.style.opacity||0)?y():q(30))}})}for(var S=this.toolbarItems,G=0,L=mxUtils.bind(this,function(da,ca,ia,ma){da=this.createToolbarButton(da,ca,ia,ma);e.appendChild(da);