Language: JavaScript
Label: vulnerable
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:
c.pages.length:1:l.apply(this,arguments)};var n=null;this.addListener("fileDescriptorChanged",function(){var K=this.getCurrentFile();null!=K&&n!=K.getTitle()&&(n=null!=K.getTitle()?K.getTitle():this.defaultFilename,e.invalidateDescendantsWithPlaceholders(e.model.getRoot()),e.view.validate())});var z=e.labelLinkClicked;e.labelLinkClicked=function(K,O,V){var k=O.getAttribute("href");if(null==k||!e.isCustomLink(k)||!mxEvent.isTouchEvent(V)&&mxEvent.isPopupTrigger(V))z.apply(this,arguments);else{if(!e.isEnabled()||
null!=K&&e.isCellLocked(K.cell))e.customLinkClicked(k),e.getRubberband().reset();mxEvent.consume(V)}};this.editor.getOrCreateFilename=function(){var K=c.defaultFilename,O=c.getCurrentFile();null!=O&&(K=null!=O.getTitle()?O.getTitle():K);return K};var C=this.actions.get("print");C.setEnabled(!mxClient.IS_IOS||!navigator.standalone);C.visible=C.isEnabled();if(!this.editor.chromeless||this.editor.editable)this.keyHandler.bindAction(70,!0,"findReplace"),this.keyHandler.bindAction(77,!0,"editGeometry",