Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
"ready";x.postMessage(t,"*");if("json"==urlParams.proto){var C=this.editor.graph.openLink;this.editor.graph.openLink=function(I,B,T){C.apply(this,arguments);x.postMessage(JSON.stringify({event:"openLink",href:I,target:B,allowOpener:T}),"*")}}};EditorUi.prototype.createEmbedButton=function(c,e,k,q){var p="simple"==Editor.currentTheme||"sketch"==Editor.currentTheme||"min"==Editor.currentTheme,t=document.createElement("button");t.setAttribute("title",c+(null!=k?" ("+k+")":""));t.style.marginLeft="6px";