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