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:
!1;mxRubberband.prototype.cancel=function(){this.isActive()&&(this.cancelled=!0,this.reset())};mxRubberband.prototype.mouseUp=function(x,J){if(this.cancelled)this.cancelled=!1,J.consume();else{var Q=null!=this.div&&"none"!=this.div.style.display,Y=null,ea=null,la=x=null;null!=this.first&&null!=this.currentX&&null!=this.currentY&&(Y=this.first.x,ea=this.first.y,x=(this.currentX-Y)/this.graph.view.scale,la=(this.currentY-ea)/this.graph.view.scale,mxEvent.isAltDown(J.getEvent())||(x=this.graph.snap(x),