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=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&&