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