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:
v.defaultLibraryName=mxResources.get("untitledLibrary");var H=document.createElement("div");H.className="geMenubarContainer";var L=null,F=new Menubar(v,H);v.statusContainer=v.createStatusContainer();v.statusContainer.style.position="relative";v.statusContainer.style.maxWidth="";v.statusContainer.style.color="gray";v.statusContainer.style.cursor="default";var S=v.hideCurrentMenu;v.hideCurrentMenu=function(){S.apply(this,arguments);this.editor.graph.popupMenuHandler.hideMenu()};var p=v.descriptorChanged;