Language: JavaScript
Label: vulnerable
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

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,L=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)<L&&Math.abs(this.scrollTop-E.container.scrollTop)<L&&Math.abs(this.startX-ca.getGraphX())<L&&Math.abs(this.startY-ca.getGraphY())<L&&(0<parseFloat(e.style.opacity||0)?y():q(30))}})}for(var T=this.toolbarItems,G=0,M=mxUtils.bind(this,function(fa,ca,ja,ma){fa=this.createToolbarButton(fa,ca,ja,ma);e.appendChild(fa);G++;return fa}),R=null,W=null,d=null,f=null,k=0;k<T.length;k++){var u=T[k];