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:
null==F.data&&null==F.url?(F=R(F),Ba(F,I)):this.loadDescriptor(F,mxUtils.bind(this,function(ea){Ba(za(),I)}),mxUtils.bind(this,function(ea){this.handleError(ea,mxResources.get("errorLoadingFile"))}))}}));var B=window.opener||window.parent;x="json"==urlParams.proto?JSON.stringify({event:"init"}):urlParams.ready||"ready";B.postMessage(x,"*");if("json"==urlParams.proto){var G=this.editor.graph.openLink;this.editor.graph.openLink=function(I,F,U){G.apply(this,arguments);B.postMessage(JSON.stringify({event:"openLink",
href:I,target:F,allowOpener:U}),"*")}}};EditorUi.prototype.createEmbedButton=function(d,g,n,q){var t="simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme,x=document.createElement("button");x.setAttribute("title",d+(null!=n?" ("+n+")":""));x.style.marginLeft="6px";mxUtils.write(x,d);t?(x.className=q?"gePrimaryBtn":"",x.style.marginLeft="8px",x.style.padding="6px"):x.className="geBigButton"+(q?"":" geBigStandardButton");mxEvent.addListener(x,"click",g);return x};