Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
t.model.getChildAt(g,H))};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 t=JSON.parse(g.substring(17));if(null!=t.actions){for(var u=0;u<t.actions.length;u++){var v=t.actions[u];if(null!=v.open&&Graph.isPageLink(v.open)){var B=v.open.substring(v.open.indexOf(",")+1);n=d[B];null!=n?v.open="data:page/id,"+n:null==this.getPageById(B)&&delete v.open}}g=
"data:action/json,"+JSON.stringify(t)}}catch(H){}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,t,u){var v=mxUtils.bind(this,function(B){this.loadingExtensions=!1;null!=n?n(B):this.handleError(B)});this.createTimeout(null,mxUtils.bind(this,function(B){t=null!=t?t:d.name;var H=mxUtils.bind(this,function(G){B.clear()&&v(G)}),L=mxUtils.bind(this,function(){this.loadingExtensions=