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:
mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};var W=this.graphHandler.getCells;this.graphHandler.getCells=function(S){for(var da=W.apply(this,arguments),P=new mxDictionary,V=[],l=0;l<da.length;l++){var B=this.graph.isTableCell(S)&&this.graph.isTableCell(da[l])&&this.graph.isCellSelected(da[l])?this.graph.model.getParent(da[l]):this.graph.isTableRow(S)&&this.graph.isTableRow(da[l])&&this.graph.isCellSelected(da[l])?da[l]:this.graph.getCompositeParent(da[l]);
null==B||P.get(B)||(P.put(B,!0),V.push(B))}return V};var d=this.graphHandler.start;this.graphHandler.start=function(S,da,P,V){var l=!1;this.graph.isTableCell(S)&&(this.graph.isCellSelected(S)?l=!0:S=this.graph.model.getParent(S));l||this.graph.isTableRow(S)&&this.graph.isCellSelected(S)||(S=this.graph.getCompositeParent(S));d.apply(this,arguments)};this.connectionHandler.createTargetVertex=function(S,da){da=this.graph.getCompositeParent(da);return mxConnectionHandler.prototype.createTargetVertex.apply(this,