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:
g[1].geometry.width)/2:(P.x+P.width)/R-V.x+-y.x+10,g[1].geometry.y-=g[1].geometry.height+y.y+40):(g[1].geometry.x=U==mxConstants.DIRECTION_WEST?g[1].geometry.x-(g[1].geometry.width+y.x+40):g[1].geometry.x+(g[1].geometry.width-y.x+40),g[1].geometry.y=null==P?A.geometry.y+(A.geometry.height-g[1].geometry.height)/2:(P.y+P.height)/R-V.y+-y.y+10);return e.addCells(g,Q)}finally{e.model.endUpdate()}}function S(A,N,Q){A=e.getOutgoingTreeEdges(A);Q=e.view.getState(Q);var L=[];if(null!=Q&&null!=A){for(var U=
0;U<A.length;U++){var g=e.view.getState(e.model.getTerminal(A[U],!1));null!=g&&(!N&&Math.min(g.x+g.width,Q.x+Q.width)>=Math.max(g.x,Q.x)||N&&Math.min(g.y+g.height,Q.y+Q.height)>=Math.max(g.y,Q.y))&&L.push(g)}L.sort(function(y,H){return N?y.x+y.width-H.x-H.width:y.y+y.height-H.y-H.height})}return L}function J(A,N){var Q=F(A),L=N==mxConstants.DIRECTION_EAST||N==mxConstants.DIRECTION_WEST;(Q==mxConstants.DIRECTION_EAST||Q==mxConstants.DIRECTION_WEST)==L&&Q!=N?c.actions.get("selectParent").funct():Q==