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