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:
k.prototype.lineTo=function(U,T){this.passThrough?this.originalLineTo.apply(this.canvas,arguments):(this.addOp(this.lineOp,U,T),this.lastX=U,this.lastY=T)};k.prototype.moveTo=function(U,T){this.passThrough?this.originalMoveTo.apply(this.canvas,arguments):(this.addOp(this.moveOp,U,T),this.lastX=U,this.lastY=T,this.firstX=U,this.firstY=T)};k.prototype.close=function(){this.passThrough?this.originalClose.apply(this.canvas,arguments):this.addOp(this.closeOp)};k.prototype.quadTo=function(U,T,W,X){this.passThrough?
this.originalQuadTo.apply(this.canvas,arguments):(this.addOp(this.quadOp,U,T,W,X),this.lastX=W,this.lastY=X)};k.prototype.curveTo=function(U,T,W,X,Y,Z){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,U,T,W,X,Y,Z),this.lastX=Y,this.lastY=Z)};k.prototype.arcTo=function(U,T,W,X,Y,Z,ca){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);else{var ha=mxUtils.arcToCurves(this.lastX,this.lastY,U,T,W,X,Y,Z,ca);if(null!=ha)for(var na=0;na<ha.length;na+=