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:
arguments))};var q=mxSvgCanvas2D.prototype.updateTextNodes;mxSvgCanvas2D.prototype.updateTextNodes=function(k,y,G,P,Q,U,T,W,X,Y,Z){q.apply(this,arguments);Graph.processFontAttributes(Z)};var p=mxText.prototype.redraw;mxText.prototype.redraw=function(){p.apply(this,arguments);null!=this.node&&"DIV"==this.node.nodeName&&Graph.processFontAttributes(this.node)};Graph.prototype.createTagsDialog=function(k,y,G){function P(){for(var ea=T.getSelectionCells(),za=[],Ca=0;Ca<ea.length;Ca++)T.isCellVisible(ea[Ca])&&
za.push(ea[Ca]);T.setSelectionCells(za)}function Q(ea){T.setHiddenTags(ea?[]:W.slice());P();T.refresh()}function U(ea,za){Y.innerText="";if(0<ea.length){var Ca=document.createElement("table");Ca.setAttribute("cellpadding","2");Ca.style.boxSizing="border-box";Ca.style.tableLayout="fixed";Ca.style.width="100%";var Ba=document.createElement("tbody");if(null!=ea&&0<ea.length)for(var ba=0;ba<ea.length;ba++)(function(da){function qa(){var pa=T.getCellsForTags([da],null,null,!0);T.isEnabled()?T.setSelectionCells(pa):