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:
n)}}catch(q){}};EditorUi.prototype.updatePageLinksForCell=function(d,g){var n=document.createElement("div"),q=this.editor.graph,t=q.getLinkForCell(g);null!=t&&q.setLinkForCell(g,this.updatePageLink(d,t));if(q.isHtmlLabel(g)){n.innerHTML=Graph.sanitizeHtml(q.getLabel(g));for(var x=n.getElementsByTagName("a"),B=!1,G=0;G<x.length;G++)t=x[G].getAttribute("href"),null!=t&&(x[G].setAttribute("href",this.updatePageLink(d,t)),B=!0);B&&q.labelChanged(g,n.innerHTML)}for(G=0;G<q.model.getChildCount(g);G++)this.updatePageLinksForCell(d,
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=