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