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