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