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:
"mermaidData",JSON.stringify({data:J,config:z.config},null,2))}finally{g.getModel().endUpdate()}},function(O){d.handleError(O)})},null,null,400,220);d.showDialog(K.container,420,300,!0,!0);K.init()};var n=g.cellEditor.startEditing;g.cellEditor.startEditing=function(C,K){try{var l=this.graph.getAttributeForCell(C,"plantUmlData");if(null!=l)this.editPlantUmlData(C,K,l);else if(l=this.graph.getAttributeForCell(C,"mermaidData"),null!=l)this.editMermaidData(C,K,l);else{var z=g.getCellStyle(C);"1"==mxUtils.getValue(z,
"metaEdit","0")?d.showDataDialog(C):n.apply(this,arguments)}}catch(J){d.handleError(J)}};g.getLinkTitle=function(C){return d.getLinkTitle(C)};g.customLinkClicked=function(C){var K=!1;try{d.handleCustomLink(C),K=!0}catch(l){d.handleError(l)}return K};var q=g.parseBackgroundImage;g.parseBackgroundImage=function(C){var K=q.apply(this,arguments);null!=K&&null!=K.src&&Graph.isPageLink(K.src)&&(K={originalSrc:K.src});return K};var t=g.setBackgroundImage;g.setBackgroundImage=function(C){null!=C&&null!=C.originalSrc&&