Language: JavaScript
Label: vulnerable
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

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