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:
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 P=[];if(null!=g){x=null!=x?x:this.model.getDescendants(this.model.getRoot());for(var T=0,W={},U=0;U<g.length;U++)0<g[U].length&&(W[g[U]]=!0,T++);for(U=0;U<x.length;U++)if(F&&this.model.getParent(x[U])==