Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
(S="1"==f.getCurrentCellStyle(ba).treeMoving);return S}function q(ba){var S=!1;null!=ba&&(ba=k.getParent(ba),S=f.view.getState(ba),S="tree"==(null!=S?S.style:f.getCellStyle(ba)).containerType);return S}function E(ba){var S=!1;null!=ba&&(ba=k.getParent(ba),S=f.view.getState(ba),f.view.getState(ba),S=null!=(null!=S?S.style:f.getCellStyle(ba)).childLayout);return S}function M(ba){ba=f.view.getState(ba);if(null!=ba){var S=f.getIncomingTreeEdges(ba.cell);if(0<S.length&&(S=f.view.getState(S[0]),null!=S&&
(S=S.absolutePoints,null!=S&&0<S.length&&(S=S[S.length-1],null!=S)))){if(S.y==ba.y&&Math.abs(S.x-ba.getCenterX())<ba.width/2)return mxConstants.DIRECTION_SOUTH;if(S.y==ba.y+ba.height&&Math.abs(S.x-ba.getCenterX())<ba.width/2)return mxConstants.DIRECTION_NORTH;if(S.x>ba.getCenterX())return mxConstants.DIRECTION_WEST}}return mxConstants.DIRECTION_EAST}function T(ba,S){S=null!=S?S:!0;f.model.beginUpdate();try{var da=f.model.getParent(ba),P=f.getIncomingTreeEdges(ba),V=f.cloneCells([P[0],ba]);f.model.setTerminal(V[0],