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:
function(S){for(var U=W.apply(this,arguments),Q=new mxDictionary,Y=[],m=0;m<U.length;m++){var C=this.graph.isTableCell(S)&&this.graph.isTableCell(U[m])&&this.graph.isCellSelected(U[m])?this.graph.model.getParent(U[m]):this.graph.isTableRow(S)&&this.graph.isTableRow(U[m])&&this.graph.isCellSelected(U[m])?U[m]:this.graph.getCompositeParent(U[m]);null==C||Q.get(C)||(Q.put(C,!0),Y.push(C))}return Y};var d=this.graphHandler.start;this.graphHandler.start=function(S,U,Q,Y){var m=!1;this.graph.isTableCell(S)&&