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:
mxConstants.STYLE_STROKECOLOR,mxUtils.getValue(O,mxConstants.STYLE_STROKECOLOR,"#000"));"default"==O&&(O=b.shapeForegroundColor);return O};this.createStyle=function(O){var Q=";fillColor=none;";t&&(Q=";lineShape=1;");return mxConstants.STYLE_SHAPE+"="+O+Q};this.stopDrawing=function(){if(0<q.length){if(t){for(var O=[],Q=0;Q<z.length;Q++)null!=z[Q]&&O.push([z[Q].x,z[Q].y]);O=PerfectFreehand.getStroke(O,p);z=[];for(Q=0;Q<O.length;Q++)z.push({x:O[Q][0],y:O[Q][1]});z.push(null)}O=z[0].x;var J=z[0].x,m=