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{G.model.endUpdate()}}}catch(I){if(p)throw I;this.handleError(I)}return C};EditorUi.prototype.updatePageLinks=function(c,e){for(var k=0;k<e.length;k++)this.updatePageLinksForCell(c,e[k].root),null!=e[k].viewState&&this.updateBackgroundPageLink(c,e[k].viewState.backgroundImage)};EditorUi.prototype.updateBackgroundPageLink=function(c,e){try{if(null!=e&&Graph.isPageLink(e.originalSrc)){var k=c[e.originalSrc.substring(e.originalSrc.indexOf(",")+1)];null!=k&&(e.originalSrc="data:page/id,"+
k)}}catch(n){}};EditorUi.prototype.updatePageLinksForCell=function(c,e){var k=document.createElement("div"),n=this.editor.graph,p=n.getLinkForCell(e);null!=p&&n.setLinkForCell(e,this.updatePageLink(c,p));if(n.isHtmlLabel(e)){k.innerHTML=Graph.sanitizeHtml(n.getLabel(e));for(var t=k.getElementsByTagName("a"),y=!1,C=0;C<t.length;C++)p=t[C].getAttribute("href"),null!=p&&(t[C].setAttribute("href",this.updatePageLink(c,p)),y=!0);y&&n.labelChanged(e,k.innerHTML)}for(C=0;C<n.model.getChildCount(e);C++)this.updatePageLinksForCell(c,