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