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(P,mxConstants.STYLE_STROKECOLOR,"#000"));"default"==P&&(P=b.shapeForegroundColor);return P};this.createStyle=function(P){var R=";fillColor=none;";v&&(R=";lineShape=1;");return mxConstants.STYLE_SHAPE+"="+P+R};this.stopDrawing=function(){if(0<k.length){if(v){for(var P=[],R=0;R<u.length;R++)null!=u[R]&&P.push([u[R].x,u[R].y]);P=PerfectFreehand.getStroke(P,t);u=[];for(R=0;R<P.length;R++)u.push({x:P[R][0],y:P[R][1]});u.push(null)}P=u[0].x;var M=u[0].x,p=