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:
O.length&&(T=O[Math.max(0,Math.min(O.length-1,urlParams.page||0))])),null!=T&&(m=Editor.parseDiagramNode(T,J)));null==m||"mxGraphModel"==m.nodeName||z&&"mxfile"==m.nodeName||(m=null);return m};Editor.parseDiagramNode=function(m,z){var J=mxUtils.trim(mxUtils.getTextContent(m)),O=null;0<J.length?(m=Graph.decompress(J,null,z),null!=m&&0<m.length&&(O=mxUtils.parseXml(m).documentElement)):(m=mxUtils.getChildNodes(m),0<m.length&&(O=mxUtils.createXmlDocument(),O.appendChild(O.importNode(m[0],!0)),O=O.documentElement));
return O};Editor.getDiagramNodeXml=function(m){var z=mxUtils.getTextContent(m),J=null;0<z.length?J=Graph.decompress(z):null!=m.firstChild&&(J=mxUtils.getXml(m.firstChild));return J};Editor.extractGraphModelFromPdf=function(m){m=m.substring(m.indexOf(",")+1);m=window.atob&&!mxClient.IS_SF?atob(m):Base64.decode(m,!0);if("%PDF-1.7"==m.substring(0,8)){var z=m.indexOf("EmbeddedFile");if(-1<z){var J=m.indexOf("stream",z)+9;if(0<m.substring(z,J).indexOf("application#2Fvnd.jgraph.mxfile"))return z=m.indexOf("endstream",