Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
null!=d.pages&&null!=d.currentPage?mxUtils.indexOf(d.pages,d.currentPage)+1:1;return P};var fa=f.getGlobalVariable;f.getGlobalVariable=function(P){var V=d.getCurrentFile();return"filename"==P&&null!=V?V.getTitle():"page"==P&&null!=d.currentPage?d.currentPage.getName():"pagenumber"==P?null!=d.currentPage&&null!=d.pages?mxUtils.indexOf(d.pages,d.currentPage)+1:1:"pagecount"==P?null!=d.pages?d.pages.length:1:fa.apply(this,arguments)};var ca=null,ia=null;this.addListener("fileDescriptorChanged",mxUtils.bind(this,