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:
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):
Q.highlightCells(oa,null,null,70)}var ia=0>mxUtils.indexOf(Q.hiddenTags,fa),ya=document.createElement("tr"),xa=document.createElement("td");xa.style.align="center";xa.style.width="16px";var ta=document.createElement("img");ta.setAttribute("src",ia?Editor.visibleImage:Editor.hiddenImage);ta.setAttribute("title",mxResources.get(ia?"hideIt":"show",[fa]));mxUtils.setOpacity(ta,ia?75:25);ta.style.verticalAlign="middle";ta.style.cursor="pointer";ta.style.width="16px";if(B||Editor.isDarkMode())ta.style.filter=