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