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:
b.container.style.cursor=O?"crosshair":"";b.fireEvent(new mxEventObject("freehandStateChanged"))};this.startDrawing=function(){y(!0)};this.isDrawing=function(){return e};var A=mxUtils.bind(this,function(O){if(d){var Q=D.length,J=k&&0<z.length&&null!=D&&2>D.length;J||z.push.apply(z,D);D=[];z.push(null);q.push(d);d=null;(J||E)&&this.stopDrawing();E&&(!J||2<=Q)&&this.startDrawing();mxEvent.consume(O)}}),G=new mxCell;G.edge=!0;var C=function(){var O=b.getCurrentCellStyle(G);O=mxUtils.getValue(b.currentVertexStyle,