Language: JavaScript
Label: safe
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:
"1",Q));vb.appendChild(c("NameUniv",Za[yb].name,Q));vb.appendChild(c("ColorTrans","0",Q))}sa.appendChild(ka);qa.appendChild(sa);qa.appendChild(Fa);V.appendChild(qa);qa=z(ha,M.RELS_XMLNS,"Relationship");qa.setAttribute("Id","rId"+W);qa.setAttribute("Type",M.PAGES_TYPE);qa.setAttribute("Target",ca);T.appendChild(qa);A(H,M.VISIO_PAGES+ca,I[oa]);W++}Q.appendChild(V);ha.appendChild(T);A(H,M.VISIO_PAGES+"pages.xml",Q);A(H,M.VISIO_PAGES+"_rels/pages.xml.rels",ha)}function J(H,I){I=M.VISIO_PAGES_RELS+"page"+
I+".xml.rels";var L=mxUtils.createXmlDocument(),N=z(L,M.RELS_XMLNS,"Relationships"),Q=z(L,M.RELS_XMLNS,"Relationship");Q.setAttribute("Type","http://schemas.microsoft.com/visio/2010/relationships/master");Q.setAttribute("Id","rId1");Q.setAttribute("Target","../masters/master1.xml");N.appendChild(Q);var ha=K.images;if(0<ha.length)for(var V=0;V<ha.length;V++)Q=z(L,M.RELS_XMLNS,"Relationship"),Q.setAttribute("Type",M.XMLNS_R+"/image"),Q.setAttribute("Id","rId"+(V+2)),Q.setAttribute("Target","../media/"+
ha[V]),N.appendChild(Q);L.appendChild(N);A(H,I,L)}var M=this,K=new mxVsdxCanvas2D,P={},R=1;this.exportCurrentDiagrams=function(H){try{if(g.spinner.spin(document.body,mxResources.get("exporting"))){var I=function(Fa,ka){Fa=Fa.model.getChildCells(Fa.model.root);Q[ka]=[];for(var Za=0;Za<Fa.length;Za++)Fa[Za].visible&&Q[ka].push({name:Fa[Za].value||"Background",visible:Fa[Za].visible,locked:Fa[Za].style&&0<=Fa[Za].style.indexOf("locked=1")})},L=new JSZip;K.init(L);P={};R=1;var N={},Q={},ha={},V=null!=