Language: JavaScript
Label: safe
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",[P])),b.fireEvent(new mxEventObject("freehandInserted","cell",P))}finally{b.model.endUpdate()}q&&b.setSelectionCells([P])}}for(P=0;P<k.length;P++)k[P].parentNode.removeChild(k[P]);c=null;k=[];u=[]}B(!1)};b.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(Q,P){Q=P.getProperty("eventName");P=P.getProperty("event");Q==mxEvent.MOUSE_MOVE&&g&&(null!=P.sourceState&&P.sourceState.setCursor("crosshair"),P.consume())}));b.addMouseListener({mouseDown:mxUtils.bind(this,function(Q,P){if(b.isEnabled()&&