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:
return z};EditorUi.prototype.getHashValueForPages=function(d,f){var k=0,u=new mxGraphModel,z=new mxCodec;null!=f&&(f.byteCount=0,f.attrCount=0,f.eltCount=0,f.nodeCount=0);for(var C=0;C<d.length;C++){this.updatePageRoot(d[C]);var F=d[C].node.cloneNode(!1);F.removeAttribute("name");u.root=d[C].root;var K=z.encode(u);this.editor.graph.saveViewState(d[C].viewState,K,!0);K.removeAttribute("pageWidth");K.removeAttribute("pageHeight");F.appendChild(K);null!=f&&(f.eltCount+=F.getElementsByTagName("*").length,
f.nodeCount+=F.getElementsByTagName("mxCell").length);k=(k<<5)-k+this.hashValue(F,function(O,H,ka,fa){return!fa||"mxGeometry"!=O.nodeName&&"mxPoint"!=O.nodeName||"x"!=H&&"y"!=H&&"width"!=H&&"height"!=H?fa&&"mxCell"==O.nodeName&&"previous"==H?null:ka:Math.round(ka)},f)<<0}return k};EditorUi.prototype.hashValue=function(d,f,k){var u=0;if(null!=d&&"object"===typeof d&&"number"===typeof d.nodeType&&"string"===typeof d.nodeName&&"function"===typeof d.getAttribute){null!=d.nodeName&&(u^=this.hashValue(d.nodeName,