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.shouldRemoveCellsFromParent=function(E,M,T){for(var F=0;F<M.length;F++){if(this.graph.isTableCell(M[F])||this.graph.isTableRow(M[F]))return!1;if(this.graph.getModel().isVertex(M[F])){var K=this.graph.getCellGeometry(M[F]);if(null!=K&&K.relative)return!1}}return e.apply(this,arguments)};var g=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var E=g.apply(this,arguments);E.intersects=mxUtils.bind(this,function(M,T){return this.isConnecting()?