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:
d.pages.length:1:p.apply(this,arguments)};var q=null,C=null;this.addListener("fileDescriptorChanged",mxUtils.bind(this,function(){var K=this.getCurrentFile(),R=null!=K&&null!=K.getTitle()?K.getTitle():this.defaultFilename;q!=R&&K==C&&(g.invalidateDescendantsWithPlaceholders(g.model.getRoot()),g.view.validate());q=R;C=K}));var J=g.labelLinkClicked;g.labelLinkClicked=function(K,R,m){var A=R.getAttribute("href");if(null==A||!g.isCustomLink(A)||!mxEvent.isTouchEvent(m)&&mxEvent.isPopupTrigger(m))J.apply(this,
arguments);else{if(!g.isEnabled()||null!=K&&g.isCellLocked(K.cell))g.customLinkClicked(A),g.getRubberband().reset();mxEvent.consume(m)}};this.editor.getOrCreateFilename=function(){var K=d.defaultFilename,R=d.getCurrentFile();null!=R&&(K=null!=R.getTitle()?R.getTitle():K);return K};var F=this.actions.get("print");F.setEnabled(!mxClient.IS_IOS||!navigator.standalone);F.visible=F.isEnabled();if(!this.editor.chromeless||this.editor.editable)this.keyHandler.bindAction(70,!0,"findReplace"),this.keyHandler.bindAction(77,