Language: JavaScript
Label: vulnerable
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
[];this.traverse(k,!0,mxUtils.bind(this,function(x,E){var D=null!=E&&this.isTreeEdge(E);D&&l.push(E);x==k||null!=E&&!D||l.push(x);return(null==E||D)&&(x==k||!this.model.isCollapsed(x))}));this.model.setCollapsed(k,c);for(var u=0;u<l.length;u++)this.model.setVisible(l[u],!c)}finally{this.model.endUpdate()}};Graph.prototype.isTreeEdge=function(c){return!this.isEdgeIgnored(c)};Graph.prototype.getTreeEdges=function(c,k,l,u,x,E){return this.model.filterCells(this.getEdges(c,k,l,u,x,E),mxUtils.bind(this,