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