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:
"cells",[Q])),b.fireEvent(new mxEventObject("freehandInserted","cell",Q))}finally{b.model.endUpdate()}n&&b.setSelectionCells([Q])}}for(Q=0;Q<q.length;Q++)q[Q].parentNode.removeChild(q[Q]);d=null;q=[];z=[]}y(!1)};b.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(O,Q){O=Q.getProperty("eventName");Q=Q.getProperty("event");O==mxEvent.MOUSE_MOVE&&e&&(null!=Q.sourceState&&Q.sourceState.setCursor("crosshair"),Q.consume())}));b.addMouseListener({mouseDown:mxUtils.bind(this,function(O,Q){if(b.isEnabled()&&