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:
O.length&&(T=O[Math.max(0,Math.min(O.length-1,urlParams.page||0))])),null!=T&&(l=Editor.parseDiagramNode(T,J)));null==l||"mxGraphModel"==l.nodeName||z&&"mxfile"==l.nodeName||(l=null);return l};Editor.parseDiagramNode=function(l,z){var J=mxUtils.trim(mxUtils.getTextContent(l)),O=null;0<J.length?(l=Graph.decompress(J,null,z),null!=l&&0<l.length&&(O=mxUtils.parseXml(l).documentElement)):(l=mxUtils.getChildNodes(l),0<l.length&&(O=mxUtils.createXmlDocument(),O.appendChild(O.importNode(l[0],!0)),O=O.documentElement));
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",