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:
EditorUi.initMinimalTheme=function(){function b(J,c){if(EditorUi.windowed){var e=J.editor.graph;e.popupMenuHandler.hideMenu();null==J.formatWindow?(c=Math.max(10,J.diagramContainer.clientWidth-248),e=Math.min(566,e.container.clientHeight-10),J.formatWindow=new WrapperWindow(J,mxResources.get("format"),c,60,240,e,function(k){J.createFormat(k).init()}),J.formatWindow.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){J.formatWindow.window.fit()})),J.formatWindow.window.minimumSize=new mxRectangle(0,
0,240,80)):J.formatWindow.window.setVisible(null!=c?c:!J.formatWindow.window.isVisible())}else null==J.formatElt&&(J.formatElt=J.createSidebarContainer(),J.createFormat(J.formatElt).init(),J.formatElt.style.border="none",J.formatElt.style.width="240px",J.formatElt.style.borderLeft="1px solid gray",J.formatElt.style.right="0px"),e=J.diagramContainer.parentNode,null!=J.formatElt.parentNode?(J.formatElt.parentNode.removeChild(J.formatElt),e.style.right="0px"):(e.parentNode.appendChild(J.formatElt),e.style.right=
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||