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.canvas.begin=this.originalBegin;this.canvas.end=this.originalEnd;this.canvas.rect=this.originalRect;this.canvas.ellipse=this.originalEllipse;this.canvas.roundrect=this.originalRoundrect};mxShape.prototype.createRoughCanvas=function(T){return new g(T,Editor.createRoughCanvas(T),this)};var x=mxShape.prototype.createHandJiggle;mxShape.prototype.createHandJiggle=function(T){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"sketch","0")?x.apply(this,arguments):"comic"==mxUtils.getValue(this.style,
"sketchStyle","rough")?this.createComicCanvas(T):this.createRoughCanvas(T)};var F=mxImageShape.prototype.paintVertexShape;mxImageShape.prototype.paintVertexShape=function(T,W,U,X,Z){null!=T.handJiggle&&T.handJiggle.passThrough||F.apply(this,arguments)};var M=mxShape.prototype.paint;mxShape.prototype.paint=function(T){var W=T.addTolerance,U=!0;null!=this.style&&(U="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(null!=T.handJiggle&&T.handJiggle.constructor==g&&!this.outline){T.save();