Language: JavaScript
Label: vulnerable
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
arguments))};var n=mxSvgCanvas2D.prototype.updateTextNodes;mxSvgCanvas2D.prototype.updateTextNodes=function(g,x,F,M,P,T,W,U,X,Z,Y){n.apply(this,arguments);Graph.processFontAttributes(Y)};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(g,x,F,M){function P(){for(var ra=U.getSelectionCells(),za=[],Ba=0;Ba<ra.length;Ba++)U.isCellVisible(ra[Ba])&&
za.push(ra[Ba]);U.setSelectionCells(za)}function T(ra){U.setHiddenTags(ra?[]:X.slice());P();U.refresh()}function W(ra,za){Y.innerText="";if(0<ra.length){var Ba=document.createElement("table");Ba.setAttribute("cellpadding","2");Ba.style.boxSizing="border-box";Ba.style.tableLayout="fixed";Ba.style.width="100%";var ea=document.createElement("tbody");if(null!=ra&&0<ra.length)for(var ha=0;ha<ra.length;ha++)(function(pa){function na(){var sa=U.getCellsForTags([pa],null,null,!0);U.isEnabled()?U.setSelectionCells(sa):