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:
"hidden";na.style.bottom="0px";na.style.height="42px";na.style.right="10px";na.style.left="10px";T.isEnabled()&&(na.appendChild(Z),na.appendChild(ca),X.appendChild(na));return{div:X,refresh:ha}};Graph.prototype.getCustomFonts=function(){var k=this.extFonts;k=null!=k?k.slice():[];for(var y in Graph.customFontElements){var G=Graph.customFontElements[y];k.push({name:G.name,url:G.url})}return k};Graph.prototype.setFont=function(k,y){Graph.addFont(k,y);document.execCommand("fontname",!1,k);if(null!=y){var G=
this.cellEditor.textarea.getElementsByTagName("font");y=Graph.getFontUrl(k,y);for(var P=0;P<G.length;P++)G[P].getAttribute("face")==k&&G[P].getAttribute("data-font-src")!=y&&G[P].setAttribute("data-font-src",y)}};var t=Graph.prototype.isFastZoomEnabled;Graph.prototype.isFastZoomEnabled=function(){return t.apply(this,arguments)&&(!this.shadowVisible||!mxClient.IS_SF)};Graph.prototype.updateGlobalUrlVariables=function(){this.globalVars=Editor.globalVars;if(null!=urlParams.vars)try{this.globalVars=null!=