Language: JavaScript
Label: vulnerable
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:
g.getCurrentCellStyle(G).treeMoving);return P}function l(G){var P=!1;null!=G&&(G=n.getParent(G),P=g.view.getState(G),P="tree"==(null!=P?P.style:g.getCellStyle(G)).containerType);return P}function x(G){var P=!1;null!=G&&(G=n.getParent(G),P=g.view.getState(G),g.view.getState(G),P=null!=(null!=P?P.style:g.getCellStyle(G)).childLayout);return P}function y(G){G=g.view.getState(G);if(null!=G){var P=g.getIncomingTreeEdges(G.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==G.y&&Math.abs(P.x-G.getCenterX())<G.width/2)return mxConstants.DIRECTION_SOUTH;if(P.y==G.y+G.height&&Math.abs(P.x-G.getCenterX())<G.width/2)return mxConstants.DIRECTION_NORTH;if(P.x>G.getCenterX())return mxConstants.DIRECTION_WEST}}return mxConstants.DIRECTION_EAST}function E(G,P){P=null!=P?P:!0;g.model.beginUpdate();try{var O=g.model.getParent(G),N=g.getIncomingTreeEdges(G),T=g.cloneCells([N[0],G]);g.model.setTerminal(T[0],g.model.getTerminal(N[0],