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:
360,null!=d.pages&&1<d.pages.length?470:390,!0,!0)};this.defaultFilename=mxResources.get("untitledDiagram");var U=g.getExportVariables;g.getExportVariables=function(){var C=U.apply(this,arguments),K=d.getCurrentFile();null!=K&&(C.filename=K.getTitle());C.pagecount=null!=d.pages?d.pages.length:1;C.page=null!=d.currentPage?d.currentPage.getName():"";C.pagenumber=null!=d.pages&&null!=d.currentPage?mxUtils.indexOf(d.pages,d.currentPage)+1:1;return C};var R=g.getGlobalVariable;g.getGlobalVariable=function(C){var K=
d.getCurrentFile();return"filename"==C&&null!=K?K.getTitle():"page"==C&&null!=d.currentPage?d.currentPage.getName():"pagenumber"==C?null!=d.currentPage&&null!=d.pages?mxUtils.indexOf(d.pages,d.currentPage)+1:1:"pagecount"==C?null!=d.pages?d.pages.length:1:R.apply(this,arguments)};var N=null,Q=null;this.addListener("fileDescriptorChanged",mxUtils.bind(this,function(){var C=this.getCurrentFile(),K=null!=C&&null!=C.getTitle()?C.getTitle():this.defaultFilename;N!=K&&C==Q&&(g.invalidateDescendantsWithPlaceholders(g.model.getRoot()),