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:
(Z=decodeURIComponent(Z)),null!=Z&&0<Z.length)l=mxUtils.parseXml(Z).documentElement;else throw{message:mxResources.get("notADiagramFile")};null==l||B||(U=null,"diagram"==l.nodeName?U=l:"mxfile"==l.nodeName&&(Z=l.getElementsByTagName("diagram"),0<Z.length&&(U=Z[Math.max(0,Math.min(Z.length-1,urlParams.page||0))])),null!=U&&(l=Editor.parseDiagramNode(U,N)));null==l||"mxGraphModel"==l.nodeName||B&&"mxfile"==l.nodeName||(l=null);return l};Editor.parseDiagramNode=function(l,B){var N=mxUtils.trim(mxUtils.getTextContent(l)),
Z=null;0<N.length?(l=Graph.decompress(N,null,B),null!=l&&0<l.length&&(Z=mxUtils.parseXml(l).documentElement)):(l=mxUtils.getChildNodes(l),0<l.length&&(Z=mxUtils.createXmlDocument(),Z.appendChild(Z.importNode(l[0],!0)),Z=Z.documentElement));return Z};Editor.getDiagramNodeXml=function(l){var B=mxUtils.getTextContent(l),N=null;0<B.length?N=Graph.decompress(B):null!=l.firstChild&&(N=mxUtils.getXml(l.firstChild));return N};Editor.extractGraphModelFromPdf=function(l){l=l.substring(l.indexOf(",")+1);l=window.atob&&