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])),e.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0))),this.editor.setGraphXml(c),null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root,e.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0)));if(null!=k)for(p=0;p<k.length;p++)e.model.execute(new ChangePage(this,k[p],null))}finally{e.model.endUpdate()}}};EditorUi.prototype.createFileData=function(c,e,k,n,p,t,y,A,G,C,V){e=null!=e?e:this.editor.graph;p=null!=p?p:!1;G=null!=G?G:!0;V=null!=