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:
EditorUi.prototype.chromelessWindowResize=function(){};var N=Menus.prototype.init;Menus.prototype.init=function(){N.apply(this,arguments);var J=this.editorUi;EditorUi.enablePlantUml&&!J.isOffline()&&J.actions.put("plantUml",new Action(mxResources.get("plantUml")+"...",function(){var g=new ParseDialog(J,mxResources.get("plantUml")+"...","plantUml");J.showDialog(g.container,620,420,!0,!1);g.init()}));J.actions.put("mermaid",new Action(mxResources.get("mermaid")+"...",function(){var g=new ParseDialog(J,