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:
n=Graph.prototype.shadowId;Graph.prototype.shadowId="lightboxDropShadow";var y=new EditorUi(new Editor(!0),document.createElement("div"),!0);this.darkMode&&y.setDarkMode(!0);y.editor.editBlankUrl=this.editBlankUrl;y.editor.graph.shadowId="lightboxDropShadow";Graph.prototype.shadowId=n;y.refresh=function(){};var q=mxUtils.bind(this,function(V){27==V.keyCode&&y.destroy()}),E=this.initialOverflow,K=y.destroy;y.destroy=function(){null==b&&(mxEvent.removeListener(document.documentElement,"keydown",q),
document.body.removeChild(e),document.body.removeChild(g),document.body.style.overflow=E,GraphViewer.resizeSensorEnabled=!0,K.apply(this,arguments))};var S=y.editor.graph,G=S.container;G.style.overflow="hidden";this.lightboxChrome&&null==b?(G.style.border="1px solid #c0c0c0",G.style.margin="40px",mxEvent.addListener(document.documentElement,"keydown",q)):(e.style.display="none",g.style.display="none");var L=this;S.getImageFromBundles=function(V){return L.getImageUrl(V)};var R=y.createTemporaryGraph;