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:
38==F.keyCode?(I(O,mxConstants.DIRECTION_NORTH),mxEvent.consume(F)):39==F.keyCode?(I(O,mxConstants.DIRECTION_EAST),mxEvent.consume(F)):40==F.keyCode&&(I(O,mxConstants.DIRECTION_SOUTH),mxEvent.consume(F)))}}catch(K){d.handleError(K)}mxEvent.isConsumed(F)||G.apply(this,arguments)};var T=g.connectVertex;g.connectVertex=function(F,O,S,K,R,m,A){var M=g.getIncomingTreeEdges(F);if(c(F)){var Q=y(F),U=Q==mxConstants.DIRECTION_EAST||Q==mxConstants.DIRECTION_WEST,W=O==mxConstants.DIRECTION_EAST||O==mxConstants.DIRECTION_WEST;
return Q==O||0==M.length?z(F,O):U==W?D(F):E(F,O!=mxConstants.DIRECTION_NORTH&&O!=mxConstants.DIRECTION_WEST)}return T.apply(this,arguments)};g.getSubtree=function(F){var O=[F];!k(F)&&!c(F)||x(F)||g.traverse(F,!0,function(S,K){var R=null!=K&&g.isTreeEdge(K);R&&0>mxUtils.indexOf(O,K)&&O.push(K);(null==K||R)&&0>mxUtils.indexOf(O,S)&&O.push(S);return null==K||R});return O};var p=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){p.apply(this,arguments);(k(this.state.cell)||c(this.state.cell))&&