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:
(ba=f.model.getChildren(f.model.getParent(S)));f.setSelectionCells(ba)}},null,null,"Alt+Shift+S");var z=f.removeCells;f.removeCells=function(ba,S){S=null!=S?S:!0;null==ba&&(ba=this.getDeletableCells(this.getSelectionCells()));S&&(ba=this.getDeletableCells(this.addAllEdges(ba)));for(var da=[],P=0;P<ba.length;P++){var V=ba[P];k.isEdge(V)&&q(V)&&(da.push(V),V=k.getTerminal(V,!1));if(p(V)){var l=[];f.traverse(V,!0,function(B,N){var Z=null!=N&&f.isTreeEdge(N);Z&&l.push(N);(null==N||Z)&&l.push(B);return null==
N||Z});0<l.length&&(da=da.concat(l),V=f.getIncomingTreeEdges(ba[P]),ba=ba.concat(V))}else null!=V&&da.push(ba[P])}ba=da;return z.apply(this,arguments)};d.hoverIcons.getStateAt=function(ba,S,da){return p(ba.cell)?null:this.graph.view.getState(this.graph.getCellAt(S,da))};var A=f.duplicateCells;f.duplicateCells=function(ba,S){ba=null!=ba?ba:this.getSelectionCells();for(var da=ba.slice(0),P=0;P<da.length;P++){var V=f.view.getState(da[P]);if(null!=V&&p(V.cell)){var l=f.getIncomingTreeEdges(V.cell);for(V=