Language: JavaScript
Label: vulnerable
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:
k=(k<<5)-k+this.hashValue(H,function(O,G,ja,fa){return!fa||"mxGeometry"!=O.nodeName&&"mxPoint"!=O.nodeName||"x"!=G&&"y"!=G&&"width"!=G&&"height"!=G?fa&&"mxCell"==O.nodeName&&"previous"==G?null:ja:Math.round(ja)},f)<<0}return k};EditorUi.prototype.hashValue=function(d,f,k){var v=0;if(null!=d&&"object"===typeof d&&"number"===typeof d.nodeType&&"string"===typeof d.nodeName&&"function"===typeof d.getAttribute){null!=d.nodeName&&(v^=this.hashValue(d.nodeName,f,k));if(null!=d.attributes){null!=k&&(k.attrCount+=
d.attributes.length);for(var z=0;z<d.attributes.length;z++){var A=d.attributes[z].name,H=null!=f?f(d,A,d.attributes[z].value,!0):d.attributes[z].value;null!=H&&(v^=this.hashValue(A,f,k)+this.hashValue(H,f,k))}}if(null!=d.childNodes)for(z=0;z<d.childNodes.length;z++)v=(v<<5)-v+this.hashValue(d.childNodes[z],f,k)<<0}else if(null!=d&&"function"!==typeof d){d=String(d);f=0;null!=k&&(k.byteCount+=d.length);for(z=0;z<d.length;z++)f=(f<<5)-f+d.charCodeAt(z)<<0;v^=f}return v};EditorUi.prototype.descriptorChanged=