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:
L.pagecount=null!=c.pages?c.pages.length:1;L.page=null!=c.currentPage?c.currentPage.getName():"";L.pagenumber=null!=c.pages&&null!=c.currentPage?mxUtils.indexOf(c.pages,c.currentPage)+1:1;return L};var l=e.getGlobalVariable;e.getGlobalVariable=function(L){var U=c.getCurrentFile();return"filename"==L&&null!=U?U.getTitle():"page"==L&&null!=c.currentPage?c.currentPage.getName():"pagenumber"==L?null!=c.currentPage&&null!=c.pages?mxUtils.indexOf(c.pages,c.currentPage)+1:1:"pagecount"==L?null!=c.pages?
c.pages.length:1:l.apply(this,arguments)};var n=null,z=null;this.addListener("fileDescriptorChanged",mxUtils.bind(this,function(){var L=this.getCurrentFile(),U=null!=L&&null!=L.getTitle()?L.getTitle():this.defaultFilename;n!=U&&L==z&&(e.invalidateDescendantsWithPlaceholders(e.model.getRoot()),e.view.validate());n=U;z=L}));var E=e.labelLinkClicked;e.labelLinkClicked=function(L,U,g){var y=U.getAttribute("href");if(null==y||!e.isCustomLink(y)||!mxEvent.isTouchEvent(g)&&mxEvent.isPopupTrigger(g))E.apply(this,