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:
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+=
6)this.curveTo(fa[na],fa[na+1],fa[na+2],fa[na+3],fa[na+4],fa[na+5]);this.lastX=Y;this.lastY=ea}};g.prototype.rect=function(V,R,W,X){this.passThrough?this.originalRect.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.rectangle(V,R,W,X,this.getStyle(!0,!0)))};g.prototype.ellipse=function(V,R,W,X){this.passThrough?this.originalEllipse.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.ellipse(V+W/2,R+X/2,W,X,this.getStyle(!0,!0)))};g.prototype.roundrect=