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:
0;if(19==X){var qa=l.indexOf("%3C%2Fmxfile%3E)",U)+15;U-=9;if(qa>U){N=l.substring(U,qa);break}}10==ia&&("endobj"==A?ba=null:"obj"==A.substring(A.length-3,A.length)||"xref"==A||"trailer"==A?(ba=[],Z[A.split(" ")[0]]=ba):null!=ba&&ba.push(A),A="")}null==N&&(N=Editor.extractGraphModelFromXref(Z));null!=N&&(N=decodeURIComponent(N.replace(/\\\(/g,"(").replace(/\\\)/g,")")));return N};Editor.extractGraphModelFromXref=function(l){var A=l.trailer,N=null;null!=A&&(A=/.* \/Info (\d+) (\d+) R/g.exec(A.join("\n")),
null!=A&&0<A.length&&(A=l[A[1]],null!=A&&(A=/.* \/Subject (\d+) (\d+) R/g.exec(A.join("\n")),null!=A&&0<A.length&&(l=l[A[1]],null!=l&&(l=l.join("\n"),N=l.substring(1,l.length-1))))));return N};Editor.extractParserError=function(l,A){var N=null;l=null!=l?l.getElementsByTagName("parsererror"):null;null!=l&&0<l.length&&(N=A||mxResources.get("invalidChars"),A=l[0].getElementsByTagName("div"),0<A.length&&(N=mxUtils.getTextContent(A[0])));return null!=N?mxUtils.trim(N):N};Editor.addRetryToError=function(l,