Language: JavaScript
Label: vulnerable
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
mxResources.get("reconnecting"))?window.location.search=this.getSearch(["url"]):null!=q?this.fileLoaded(q)||v():v()});g?d():this.handleError(F,mxResources.get("errorLoadingFile"),d,!0,null,null,!0)}else v();return t};EditorUi.prototype.getHashValueForPages=function(d,g){var n=0,q=new mxGraphModel,t=new mxCodec;null!=g&&(g.byteCount=0,g.attrCount=0,g.eltCount=0,g.nodeCount=0);for(var v=0;v<d.length;v++){this.updatePageRoot(d[v]);var B=d[v].node.cloneNode(!1);B.removeAttribute("name");q.root=d[v].root;
var F=t.encode(q);this.editor.graph.saveViewState(d[v].viewState,F,!0);F.removeAttribute("pageWidth");F.removeAttribute("pageHeight");B.appendChild(F);null!=g&&(g.eltCount+=B.getElementsByTagName("*").length,g.nodeCount+=B.getElementsByTagName("mxCell").length);n=(n<<5)-n+this.hashValue(B,function(I,G,S,U){return!U||"mxGeometry"!=I.nodeName&&"mxPoint"!=I.nodeName||"x"!=G&&"y"!=G&&"width"!=G&&"height"!=G?U&&"mxCell"==I.nodeName&&"previous"==G?null:S:Math.round(S)},g)<<0}return n};EditorUi.prototype.hashValue=