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:
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=