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:
d||mxUtils.isEmptyObject(d)||(g=g+"#"+encodeURIComponent(JSON.stringify(d)))}catch(t){}window.location.hash=g}};EditorUi.prototype.loadDescriptor=function(d,g,n){var t=window.location.hash,u=mxUtils.bind(this,function(B){var H=null!=d.data?d.data:"";null!=B&&0<B.length&&(0<H.length&&(H+="\n"),H+=B);B=new LocalFile(this,"csv"!=d.format&&0<H.length?H:this.emptyDiagramXml,null!=urlParams.title?decodeURIComponent(urlParams.title):this.defaultFilename,!0);B.getHash=function(){return t};this.fileLoaded(B);