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:
return O};Editor.getDiagramNodeXml=function(l){var z=mxUtils.getTextContent(l),J=null;0<z.length?J=Graph.decompress(z):null!=l.firstChild&&(J=mxUtils.getXml(l.firstChild));return J};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 z=l.indexOf("EmbeddedFile");if(-1<z){var J=l.indexOf("stream",z)+9;if(0<l.substring(z,J).indexOf("application#2Fvnd.jgraph.mxfile"))return z=l.indexOf("endstream",
J-1),pako.inflateRaw(Graph.stringToArrayBuffer(l.substring(J,z)),{to:"string"})}return null}J=null;z="";for(var O=0,T=0,W=[],V=null;T<l.length;){var S=l.charCodeAt(T);T+=1;10!=S&&(z+=String.fromCharCode(S));S=="/Subject (%3Cmxfile".charCodeAt(O)?O++:O=0;if(19==O){var X=l.indexOf("%3C%2Fmxfile%3E)",T)+15;T-=9;if(X>T){J=l.substring(T,X);break}}10==S&&("endobj"==z?V=null:"obj"==z.substring(z.length-3,z.length)||"xref"==z||"trailer"==z?(V=[],W[z.split(" ")[0]]=V):null!=V&&V.push(z),z="")}null==J&&(J=
Editor.extractGraphModelFromXref(W));null!=J&&(J=decodeURIComponent(J.replace(/\\\(/g,"(").replace(/\\\)/g,")")));return J};Editor.extractGraphModelFromXref=function(l){var z=l.trailer,J=null;null!=z&&(z=/.* \/Info (\d+) (\d+) R/g.exec(z.join("\n")),null!=z&&0<z.length&&(z=l[z[1]],null!=z&&(z=/.* \/Subject (\d+) (\d+) R/g.exec(z.join("\n")),null!=z&&0<z.length&&(l=l[z[1]],null!=l&&(l=l.join("\n"),J=l.substring(1,l.length-1))))));return J};Editor.extractParserError=function(l,z){var J=null;l=null!=