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