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:
J.formatElt.style.width)}function f(J,c){function e(p,t){var x=J.menus.get(p);p=k.addMenu(t,mxUtils.bind(this,function(){x.funct.apply(this,arguments)}));p.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;";p.className="geTitle";c.appendChild(p);return p}var k=new Menubar(J,c);if(Editor.enableCustomLibraries&&("1"!=urlParams.embed||
"1"==urlParams.libraries))if(null!=J.actions.get("newLibrary")){var q=document.createElement("div");q.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;";q.className="geTitle";mxUtils.write(q,mxResources.get("newLibrary"));c.appendChild(q);mxEvent.addListener(q,"click",this.actions.get("newLibrary").funct);q=q.cloneNode(!1);
q.style.left="50%";q.style.borderLeftStyle="solid";mxUtils.write(q,mxResources.get("openLibrary"));c.appendChild(q);mxEvent.addListener(q,"click",this.actions.get("openLibrary").funct)}else q=e("newLibrary",mxResources.get("newLibrary")),q.style.fontSize="11px",q.style.left="0",q=e("openLibraryFrom",mxResources.get("openLibraryFrom")),q.style.borderLeftStyle="solid",q.style.fontSize="11px",q.style.left="50%";c.appendChild(J.sidebar.container);c.style.overflow="hidden"}function m(J,c){if(EditorUi.windowed){var e=