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(q,!0,mxUtils.bind(this,function(D,L){var K=null!=L&&this.isTreeEdge(L);K&&u.push(L);D==q||null!=L&&!K||u.push(D);return(null==L||K)&&(D==q||!this.model.isCollapsed(D))}));this.model.setCollapsed(q,d);for(var z=0;z<u.length;z++)this.model.setVisible(u[z],!d)}finally{this.model.endUpdate()}};Graph.prototype.isTreeEdge=function(d){return!this.isEdgeIgnored(d)};Graph.prototype.getTreeEdges=function(d,q,u,z,D,L){return this.model.filterCells(this.getEdges(d,q,u,z,D,L),mxUtils.bind(this,
function(K){return this.isTreeEdge(K)}))};Graph.prototype.getIncomingTreeEdges=function(d,q){return this.getTreeEdges(d,q,!0,!1,!1)};Graph.prototype.getOutgoingTreeEdges=function(d,q){return this.getTreeEdges(d,q,!1,!0,!1)};var f=EditorUi.prototype.init;EditorUi.prototype.init=function(){f.apply(this,arguments);this.editor.isChromelessView()&&!this.editor.editable||this.addTrees()};EditorUi.prototype.addTrees=function(){function d(J){return k.isVertex(J)&&u(J)}function q(J){var m=!1;null!=J&&(m="1"==