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:
g.getCurrentCellStyle(M).treeMoving);return p}function m(M){var p=!1;null!=M&&(M=n.getParent(M),p=g.view.getState(M),p="tree"==(null!=p?p.style:g.getCellStyle(M)).containerType);return p}function u(M){var p=!1;null!=M&&(M=n.getParent(M),p=g.view.getState(M),g.view.getState(M),p=null!=(null!=p?p.style:g.getCellStyle(M)).childLayout);return p}function v(M){M=g.view.getState(M);if(null!=M){var p=g.getIncomingTreeEdges(M.cell);if(0<p.length&&(p=g.view.getState(p[0]),null!=p&&(p=p.absolutePoints,null!=
p&&0<p.length&&(p=p[p.length-1],null!=p)))){if(p.y==M.y&&Math.abs(p.x-M.getCenterX())<M.width/2)return mxConstants.DIRECTION_SOUTH;if(p.y==M.y+M.height&&Math.abs(p.x-M.getCenterX())<M.width/2)return mxConstants.DIRECTION_NORTH;if(p.x>M.getCenterX())return mxConstants.DIRECTION_WEST}}return mxConstants.DIRECTION_EAST}function E(M,p){p=null!=p?p:!0;g.model.beginUpdate();try{var y=g.model.getParent(M),C=g.getIncomingTreeEdges(M),K=g.cloneCells([C[0],M]);g.model.setTerminal(K[0],g.model.getTerminal(C[0],