Language: JavaScript
Label: vulnerable
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:
function(X){d.handleError(X)})},null,null,400,220);d.showDialog(V.container,420,300,!0,!0);V.init()};var k=f.cellEditor.startEditing;f.cellEditor.startEditing=function(P,V){try{var l=this.graph.getAttributeForCell(P,"plantUmlData");if(null!=l)this.editPlantUmlData(P,V,l);else if(l=this.graph.getAttributeForCell(P,"mermaidData"),null!=l)this.editMermaidData(P,V,l);else{var A=f.getCellStyle(P);"1"==mxUtils.getValue(A,"metaEdit","0")?d.showDataDialog(P):k.apply(this,arguments)}}catch(N){d.handleError(N)}};