Language: JavaScript
Label: safe
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:
function(g){this.model.beginUpdate();try{for(var y=0;y<g.length;y++)this.model.setVisible(g[y],!this.model.isVisible(g[y]))}finally{this.model.endUpdate()}};Graph.prototype.setCellsVisible=function(g,y){this.model.beginUpdate();try{for(var H=0;H<g.length;H++)this.model.setVisible(g[H],y)}finally{this.model.endUpdate()}};Graph.prototype.highlightCells=function(g,y,H,O){for(var P=0;P<g.length;P++)this.highlightCell(g[P],y,H,O)};Graph.prototype.highlightCell=function(g,y,H,O,P){y=null!=y?y:mxConstants.DEFAULT_VALID_COLOR;