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