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:
Graph.prototype.setTableValues=function(b,e,g){for(var n=this.model.getChildCells(b,!0),y=0;y<n.length;y++)if(null!=g&&(n[y].value=g[y]),null!=e)for(var q=this.model.getChildCells(n[y],!0),E=0;E<q.length;E++)null!=e[y][E]&&(q[E].value=e[y][E]);return b};