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:
I.formatElt.style.width)}function e(I,d){function g(u,v){var B=I.menus.get(u);u=n.addMenu(v,mxUtils.bind(this,function(){B.funct.apply(this,arguments)}));u.style.cssText="position:absolute;border-width:1px;cusor:pointer;border-style:none;height:24px;bottom:0px;text-align:center;padding:8px 6px 0 6px;border-top-style:solid;width:50%;height:32px;box-sizing:border-box;font-size:11px;";u.className="geTitle";d.appendChild(u);return u}var n=new Menubar(I,d);if(Editor.enableCustomLibraries&&("1"!=urlParams.embed||
"1"==urlParams.libraries))if(null!=I.actions.get("newLibrary")){var t=document.createElement("div");t.style.cssText="position:absolute;border-width:1px;cusor:pointer;border-style:none;height:24px;bottom:0px;text-align:center;padding:8px 6px 0 6px;border-top-style:solid;width:50%;height:32px;box-sizing:border-box;font-size:11px;";t.className="geTitle";mxUtils.write(t,mxResources.get("newLibrary"));d.appendChild(t);mxEvent.addListener(t,"click",this.actions.get("newLibrary").funct);t=t.cloneNode(!1);
t.style.left="50%";t.style.borderLeftStyle="solid";mxUtils.write(t,mxResources.get("openLibrary"));d.appendChild(t);mxEvent.addListener(t,"click",this.actions.get("openLibrary").funct)}else t=g("newLibrary",mxResources.get("newLibrary")),t.style.fontSize="11px",t.style.left="0",t=g("openLibraryFrom",mxResources.get("openLibraryFrom")),t.style.borderLeftStyle="solid",t.style.fontSize="11px",t.style.left="50%";d.appendChild(I.sidebar.container);d.style.overflow="hidden"}function f(I,d){if(EditorUi.windowed){var g=