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