Language: JavaScript
Label: safe
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:
l.nodeName||(l=null);return l};Editor.parseDiagramNode=function(l,A){var O=mxUtils.trim(mxUtils.getTextContent(l)),X=null;0<O.length?(l=Graph.decompress(O,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),O=null;0<A.length?O=Graph.decompress(A):null!=l.firstChild&&(O=mxUtils.getXml(l.firstChild));
return O};Editor.extractGraphModelFromPdf=function(l){l=l.substring(l.indexOf(",")+1);l=window.atob&&!mxClient.IS_SF?atob(l):Base64.decode(l,!0);if("%PDF-1.7"==l.substring(0,8)){var A=l.indexOf("EmbeddedFile");if(-1<A){var O=l.indexOf("stream",A)+9;if(0<l.substring(A,O).indexOf("application#2Fvnd.jgraph.mxfile"))return A=l.indexOf("endstream",O-1),pako.inflateRaw(Graph.stringToArrayBuffer(l.substring(O,A)),{to:"string"})}return null}O=null;A="";for(var X=0,U=0,aa=[],ba=null;U<l.length;){var ia=l.charCodeAt(U);