Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
EditorUi.prototype.chromelessWindowResize=function(){};var K=Menus.prototype.init;Menus.prototype.init=function(){K.apply(this,arguments);var J=this.editorUi;EditorUi.enablePlantUml&&!J.isOffline()&&J.actions.put("plantUml",new Action(mxResources.get("plantUml")+"...",function(){var k=new ParseDialog(J,mxResources.get("plantUml")+"...","plantUml");J.showDialog(k.container,620,420,!0,!1);k.init()}));J.actions.put("mermaid",new Action(mxResources.get("mermaid")+"...",function(){var k=new ParseDialog(J,