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:
!1,!0)}finally{I.model.endUpdate()}}}catch(K){if(t)throw K;this.handleError(K)}return G};EditorUi.prototype.updatePageLinks=function(d,g){for(var n=0;n<g.length;n++)this.updatePageLinksForCell(d,g[n].root),null!=g[n].viewState&&this.updateBackgroundPageLink(d,g[n].viewState.backgroundImage)};EditorUi.prototype.updateBackgroundPageLink=function(d,g){try{if(null!=g&&Graph.isPageLink(g.originalSrc)){var n=d[g.originalSrc.substring(g.originalSrc.indexOf(",")+1)];null!=n&&(g.originalSrc="data:page/id,"+
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,