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:
I,g,x,F){u=mxEvent.isAltDown(k)?u:t.getCenterInsertPoint(new mxRectangle(0,0,x,F));var M=null;t.getModel().beginUpdate();try{M="txt"==I?b.insertAsPreText(g,u.x,u.y):t.insertVertex(null,null,null,u.x,u.y,x,F,"shape=image;noLabel=1;verticalAlign=top;aspect=fixed;imageAspect=0;image="+b.convertDataUri(g)+";"),t.setAttributeForCell(M,"plantUmlData",JSON.stringify({data:A,format:I},null,2))}finally{t.getModel().endUpdate()}null!=M&&(t.setSelectionCell(M),t.scrollCellToVisible(M))},t=b.editor.graph,y="plantUmlTxt"==