Language: JavaScript
Label: vulnerable
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(L){if(t)throw L;this.handleError(L)}return F};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 v=n.getElementsByTagName("a"),B=!1,F=0;F<v.length;F++)t=v[F].getAttribute("href"),null!=t&&(v[F].setAttribute("href",this.updatePageLink(d,t)),B=!0);B&&q.labelChanged(g,n.innerHTML)}for(F=0;F<q.model.getChildCount(g);F++)this.updatePageLinksForCell(d,