Language: JavaScript
Label: safe
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:
Graph.prototype.cellsRemoved=function(x){if(null!=x){for(var J=new mxDictionary,Q=0;Q<x.length;Q++)J.put(x[Q],!0);var Y=[];for(Q=0;Q<x.length;Q++){var fa=this.model.getParent(x[Q]);null==fa||J.get(fa)||(J.put(fa,!0),Y.push(fa))}for(Q=0;Q<Y.length;Q++)if(fa=this.view.getState(Y[Q]),null!=fa&&(this.model.isEdge(fa.cell)||this.model.isVertex(fa.cell))&&this.isCellDeletable(fa.cell)&&this.isTransparentState(fa)){for(var la=!0,oa=0;oa<this.model.getChildCount(fa.cell)&&la;oa++)J.get(this.model.getChildAt(fa.cell,
oa))||(la=!1);la&&x.push(fa.cell)}}mxGraph.prototype.cellsRemoved.apply(this,arguments)};Graph.prototype.removeCellsAfterUngroup=function(x){for(var J=[],Q=0;Q<x.length;Q++)this.isCellDeletable(x[Q])&&this.isTransparentState(this.view.getState(x[Q]))&&J.push(x[Q]);x=J;mxGraph.prototype.removeCellsAfterUngroup.apply(this,arguments)};Graph.prototype.setLinkForCell=function(x,J){this.setAttributeForCell(x,"link",J)};Graph.prototype.setTooltipForCell=function(x,J){var Q="tooltip";Graph.translateDiagram&&