Language: JavaScript
Label: vulnerable
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
if(null!=k.excludeCells){for(var G=[],P=0;P<y.length;P++)0>k.excludeCells.indexOf(y[P].id)&&G.push(y[P]);y=G}return y};Graph.prototype.getCellsById=function(k){var y=[];if(null!=k)for(var G=0;G<k.length;G++)if("*"==k[G]){var P=this.model.getRoot();y=y.concat(this.model.filterDescendants(function(U){return U!=P},P))}else{var Q=this.model.getCell(k[G]);null!=Q&&y.push(Q)}return y};var C=Graph.prototype.isCellVisible;Graph.prototype.isCellVisible=function(k){return C.apply(this,arguments)&&!this.isAllTagsHidden(this.getTagsForCell(k))};