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.isAllTagsHidden=function(g){if(null==g||0==g.length||0==this.hiddenTags.length)return!1;g=g.split(" ");if(g.length>this.hiddenTags.length)return!1;for(var x=0;x<g.length;x++)if(0>mxUtils.indexOf(this.hiddenTags,g[x]))return!1;return!0};Graph.prototype.getCellsForTags=function(g,x,F,M){var Q=[];if(null!=g){x=null!=x?x:this.model.getDescendants(this.model.getRoot());for(var S=0,W={},T=0;T<g.length;T++)0<g[T].length&&(W[g[T]]=!0,S++);for(T=0;T<x.length;T++)if(F&&this.model.getParent(x[T])==
this.model.root||this.model.isVertex(x[T])||this.model.isEdge(x[T])){var X=this.getTagsForCell(x[T]),Z=!1;if(0<X.length&&(X=X.split(" "),X.length>=g.length)){for(var Y=Z=0;Y<X.length&&Z<S;Y++)null!=W[X[Y]]&&Z++;Z=Z==S}Z&&(1!=M||this.isCellVisible(x[T]))&&Q.push(x[T])}}return Q};Graph.prototype.getAllTags=function(){return this.getTagsForCells(this.model.getDescendants(this.model.getRoot()))};Graph.prototype.getCommonTagsForCells=function(g){for(var x=null,F=[],M=0;M<g.length;M++){var Q=this.getTagsForCell(g[M]);