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:
mxResources.get("reconnecting"))?window.location.search=this.getSearch(["url"]):null!=q?this.fileLoaded(q)||t():t()});e?c():this.handleError(C,mxResources.get("errorLoadingFile"),c,!0,null,null,!0)}else t();return p};EditorUi.prototype.getHashValueForPages=function(c,e){var k=0,q=new mxGraphModel,p=new mxCodec;null!=e&&(e.byteCount=0,e.attrCount=0,e.eltCount=0,e.nodeCount=0);for(var t=0;t<c.length;t++){this.updatePageRoot(c[t]);var x=c[t].node.cloneNode(!1);x.removeAttribute("name");q.root=c[t].root;
var C=p.encode(q);this.editor.graph.saveViewState(c[t].viewState,C,!0);C.removeAttribute("pageWidth");C.removeAttribute("pageHeight");x.appendChild(C);null!=e&&(e.eltCount+=x.getElementsByTagName("*").length,e.nodeCount+=x.getElementsByTagName("mxCell").length);k=(k<<5)-k+this.hashValue(x,function(I,B,T,l){return!l||"mxGeometry"!=I.nodeName&&"mxPoint"!=I.nodeName||"x"!=B&&"y"!=B&&"width"!=B&&"height"!=B?l&&"mxCell"==I.nodeName&&"previous"==B?null:T:Math.round(T)},e)<<0}return k};EditorUi.prototype.hashValue=