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:
[1])),g.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0))),this.editor.setGraphXml(d),null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root,g.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0)));if(null!=n)for(t=0;t<n.length;t++)g.model.execute(new ChangePage(this,n[t],null))}finally{g.model.endUpdate()}}};EditorUi.prototype.createFileData=function(d,g,n,q,t,v,B,F,I,G,S){g=null!=g?g:this.editor.graph;t=null!=t?t:!1;I=null!=I?I:!0;S=null!=