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:
l[z[J][T]];null!=W?""!=W&&O.push(W):O.push(z[J][T])}z[J]=O}};Graph.prototype.getCellsForAction=function(l,z){z=this.getCellsById(l.cells).concat(this.getCellsForTags(l.tags,null,z));if(null!=l.excludeCells){for(var J=[],O=0;O<z.length;O++)0>l.excludeCells.indexOf(z[O].id)&&J.push(z[O]);z=J}return z};Graph.prototype.getCellsById=function(l){var z=[];if(null!=l)for(var J=0;J<l.length;J++)if("*"==l[J]){var O=this.model.getRoot();z=z.concat(this.model.filterDescendants(function(W){return W!=O},O))}else{var T=
this.model.getCell(l[J]);null!=T&&z.push(T)}return z};var P=Graph.prototype.isCellVisible;Graph.prototype.isCellVisible=function(l){return P.apply(this,arguments)&&!this.isAllTagsHidden(this.getTagsForCell(l))};Graph.prototype.setHiddenTags=function(l){this.hiddenTags=l;this.fireEvent(new mxEventObject("hiddenTagsChanged"))};Graph.prototype.toggleHiddenTag=function(l){var z=mxUtils.indexOf(this.hiddenTags,l);0>z?this.hiddenTags.push(l):0<=z&&this.hiddenTags.splice(z,1);this.fireEvent(new mxEventObject("hiddenTagsChanged"))};