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)),