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:
L,m,z,J){l=mxEvent.isAltDown(n)?l:v.getCenterInsertPoint(new mxRectangle(0,0,z,J));var O=null;v.getModel().beginUpdate();try{O="txt"==L?b.insertAsPreText(m,l.x,l.y):v.insertVertex(null,null,null,l.x,l.y,z,J,"shape=image;noLabel=1;verticalAlign=top;aspect=fixed;imageAspect=0;image="+b.convertDataUri(m)+";"),v.setAttributeForCell(O,"plantUmlData",JSON.stringify({data:C,format:L},null,2))}finally{v.getModel().endUpdate()}null!=O&&(v.setSelectionCell(O),v.scrollCellToVisible(O))},v=b.editor.graph,B="plantUmlTxt"==