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