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:
l.prototype.quadTo=function(aa,Y,ka,qa){this.passThrough?this.originalQuadTo.apply(this.canvas,arguments):(this.addOp(this.quadOp,aa,Y,ka,qa),this.lastX=ka,this.lastY=qa)};l.prototype.curveTo=function(aa,Y,ka,qa,ra,pa){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,aa,Y,ka,qa,ra,pa),this.lastX=ra,this.lastY=pa)};l.prototype.arcTo=function(aa,Y,ka,qa,ra,pa,wa){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);else{var Ca=mxUtils.arcToCurves(this.lastX,