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+=