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:
return U};EditorUi.prototype.getXmlFileData=function(d,g,n,q){d=null!=d?d:!0;g=null!=g?g:!1;n=null!=n?n:!Editor.defaultCompressed;var t=this.editor.getGraphXml(d,q);if(d&&null!=this.fileNode&&null!=this.currentPage)if(d=function(I){var F=I.getElementsByTagName("mxGraphModel");F=0<F.length?F[0]:null;null==F&&n?(F=mxUtils.trim(mxUtils.getTextContent(I)),I=I.cloneNode(!1),0<F.length&&(F=Graph.decompress(F),null!=F&&0<F.length&&I.appendChild(mxUtils.parseXml(F).documentElement))):null==F||n?I=I.cloneNode(!0):
(I=I.cloneNode(!1),mxUtils.setTextContent(I,Graph.compressNode(F)));t.appendChild(I)},EditorUi.removeChildNodes(this.currentPage.node),mxUtils.setTextContent(this.currentPage.node,Graph.compressNode(t)),t=this.fileNode.cloneNode(!1),g)d(this.currentPage.node);else for(g=0;g<this.pages.length;g++){var x=this.pages[g],B=x.node;if(x!=this.currentPage)if(x.needsUpdate){var G=new mxCodec(mxUtils.createXmlDocument());G=G.encode(new mxGraphModel(x.root));this.editor.graph.saveViewState(x.viewState,G,null,