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:
c.darkModeColorsWindow.window.setVisible(!0)}));B=this.get("viewZoom");var d=B.funct;B.funct=mxUtils.bind(this,function(l,y){d.apply(this,arguments);"sketch"!=Editor.currentTheme&&"min"!=Editor.currentTheme||this.addMenuItems(l,["-","outline","fullscreen"],y)});B=this.get("layout");var g=B.funct;B.funct=function(l,y){g.apply(this,arguments);l.addItem(mxResources.get("orgChart"),null,function(){var J=null,G=20,P=20,p=function(){"undefined"!==typeof mxOrgChartLayout&&null!=J&&c.tryAndHandle(mxUtils.bind(this,
function(){var X=c.editor.graph,Z=new mxOrgChartLayout(X,J,G,P),Y=X.getDefaultParent();1<X.model.getChildCount(X.getSelectionCell())&&(Y=X.getSelectionCell());Z.execute(Y)}))},z=document.createElement("div"),I=document.createElement("div");I.style.marginTop="6px";I.style.display="inline-block";I.style.width="140px";mxUtils.write(I,mxResources.get("orgChartType")+": ");z.appendChild(I);var Q=document.createElement("select");Q.style.width="200px";Q.style.boxSizing="border-box";I=[mxResources.get("linear"),