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:
F&&this.model.isVertex(d))&&(f=this.view.getState(d),null!=f&&(null==R||!R(f,E,M))&&this.intersects(f,E,M)))return d}return null};Graph.prototype.isRecursiveVertexResize=function(E){return!this.isSwimlane(E.cell)&&0<this.model.getChildCount(E.cell)&&!this.isCellCollapsed(E.cell)&&"1"==mxUtils.getValue(E.style,"recursiveResize","1")&&null==mxUtils.getValue(E.style,"childLayout",null)};Graph.prototype.getAbsoluteParent=function(E){for(var M=this.getCellGeometry(E);null!=M&&M.relative;)E=this.getModel().getParent(E),
M=this.getCellGeometry(E);return E};Graph.prototype.isPart=function(E){return"1"==mxUtils.getValue(this.getCurrentCellStyle(E),"part","0")||this.isTableCell(E)||this.isTableRow(E)};Graph.prototype.getCompositeParents=function(E){for(var M=new mxDictionary,T=[],F=0;F<E.length;F++){var K=this.getCompositeParent(E[F]);this.isTableCell(K)&&(K=this.graph.model.getParent(K));this.isTableRow(K)&&(K=this.graph.model.getParent(K));null==K||M.get(K)||(M.put(K,!0),T.push(K))}return T};Graph.prototype.getReferenceTerminal=