Language: JavaScript
Label: vulnerable
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:
u)});H=this.get("layout");var e=H.funct;H.funct=function(f,u){e.apply(this,arguments);f.addItem(mxResources.get("orgChart"),null,function(){var D=null,E=20,M=20,k=function(){"undefined"!==typeof mxOrgChartLayout&&null!=D&&d.tryAndHandle(mxUtils.bind(this,function(){var X=d.editor.graph,Z=new mxOrgChartLayout(X,D,E,M),Y=X.getDefaultParent();1<X.model.getChildCount(X.getSelectionCell())&&(Y=X.getSelectionCell());Z.execute(Y)}))},x=document.createElement("div"),F=document.createElement("div");F.style.marginTop=