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(m){this.model.beginUpdate();try{for(var A=0;A<m.length;A++)this.model.setVisible(m[A],!this.model.isVisible(m[A]))}finally{this.model.endUpdate()}};Graph.prototype.setCellsVisible=function(m,A){this.model.beginUpdate();try{for(var M=0;M<m.length;M++)this.model.setVisible(m[M],A)}finally{this.model.endUpdate()}};Graph.prototype.highlightCells=function(m,A,M,Q){for(var U=0;U<m.length;U++)this.highlightCell(m[U],A,M,Q)};Graph.prototype.highlightCell=function(m,A,M,Q,U){A=null!=A?A:mxConstants.DEFAULT_VALID_COLOR;