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:
0;K<u.model.getChildCount(f);K++)this.updatePageLinksForCell(d,u.model.getChildAt(f,K))};EditorUi.prototype.updatePageLink=function(d,f){if(Graph.isPageLink(f)){var k=d[f.substring(f.indexOf(",")+1)];f=null!=k?"data:page/id,"+k:null}else if("data:action/json,"==f.substring(0,17))try{var u=JSON.parse(f.substring(17));if(null!=u.actions){for(var z=0;z<u.actions.length;z++){var C=u.actions[z];if(null!=C.open&&Graph.isPageLink(C.open)){var F=C.open.substring(C.open.indexOf(",")+1);k=d[F];null!=k?C.open=
"data:page/id,"+k:null==this.getPageById(F)&&delete C.open}}f="data:action/json,"+JSON.stringify(u)}}catch(K){}return f};EditorUi.prototype.isRemoteVisioFormat=function(d){return/(\.v(sd|dx))($|\?)/i.test(d)||/(\.vs(s|x))($|\?)/i.test(d)};EditorUi.prototype.importVisio=function(d,f,k,u,z){var C=mxUtils.bind(this,function(F){this.loadingExtensions=!1;null!=k?k(F):this.handleError(F)});this.createTimeout(null,mxUtils.bind(this,function(F){u=null!=u?u:d.name;var K=mxUtils.bind(this,function(H){F.clear()&&