Language: JavaScript
Label: vulnerable
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
this.originalQuadTo.apply(this.canvas,arguments):(this.addOp(this.quadOp,T,W,U,X),this.lastX=U,this.lastY=X)};g.prototype.curveTo=function(T,W,U,X,Z,Y){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,T,W,U,X,Z,Y),this.lastX=Z,this.lastY=Y)};g.prototype.arcTo=function(T,W,U,X,Z,Y,ba){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);else{var fa=mxUtils.arcToCurves(this.lastX,this.lastY,T,W,U,X,Z,Y,ba);if(null!=fa)for(var ca=0;ca<fa.length;ca+=
6)this.curveTo(fa[ca],fa[ca+1],fa[ca+2],fa[ca+3],fa[ca+4],fa[ca+5]);this.lastX=Y;this.lastY=ba}};g.prototype.rect=function(T,W,U,X){this.passThrough?this.originalRect.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.rectangle(T,W,U,X,this.getStyle(!0,!0)))};g.prototype.ellipse=function(T,W,U,X){this.passThrough?this.originalEllipse.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.ellipse(T+U/2,W+X/2,U,X,this.getStyle(!0,!0)))};g.prototype.roundrect=