Language: JavaScript
Label: vulnerable
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,U,T,W,X),this.lastX=W,this.lastY=X)};k.prototype.curveTo=function(U,T,W,X,Y,Z){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,U,T,W,X,Y,Z),this.lastX=Y,this.lastY=Z)};k.prototype.arcTo=function(U,T,W,X,Y,Z,ca){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);else{var ha=mxUtils.arcToCurves(this.lastX,this.lastY,U,T,W,X,Y,Z,ca);if(null!=ha)for(var na=0;na<ha.length;na+=
6)this.curveTo(ha[na],ha[na+1],ha[na+2],ha[na+3],ha[na+4],ha[na+5]);this.lastX=Z;this.lastY=ca}};k.prototype.rect=function(U,T,W,X){this.passThrough?this.originalRect.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.rectangle(U,T,W,X,this.getStyle(!0,!0)))};k.prototype.ellipse=function(U,T,W,X){this.passThrough?this.originalEllipse.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.ellipse(U+W/2,T+X/2,W,X,this.getStyle(!0,!0)))};k.prototype.roundrect=