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:
l.prototype.quadTo=function(Z,ba,ia,qa){this.passThrough?this.originalQuadTo.apply(this.canvas,arguments):(this.addOp(this.quadOp,Z,ba,ia,qa),this.lastX=ia,this.lastY=qa)};l.prototype.curveTo=function(Z,ba,ia,qa,ra,pa){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,Z,ba,ia,qa,ra,pa),this.lastX=ra,this.lastY=pa)};l.prototype.arcTo=function(Z,ba,ia,qa,ra,pa,xa){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);else{var Ca=mxUtils.arcToCurves(this.lastX,
this.lastY,Z,ba,ia,qa,ra,pa,xa);if(null!=Ca)for(var Aa=0;Aa<Ca.length;Aa+=6)this.curveTo(Ca[Aa],Ca[Aa+1],Ca[Aa+2],Ca[Aa+3],Ca[Aa+4],Ca[Aa+5]);this.lastX=pa;this.lastY=xa}};l.prototype.rect=function(Z,ba,ia,qa){this.passThrough?this.originalRect.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.rectangle(Z,ba,ia,qa,this.getStyle(!0,!0)))};l.prototype.ellipse=function(Z,ba,ia,qa){this.passThrough?this.originalEllipse.apply(this.canvas,arguments):(this.path=[],this.nextShape=