Language: JavaScript
Label: safe
CWE: CWE-400 \u2014 Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

Code:
this.toolbar.staticElements.push(c);c.style.right="atlas"==uiTheme||"1"==urlParams.atlas?"42px":"52px"}};EditorUi.prototype.showImportCsvDialog=function(){null==this.importCsvDialog&&(this.importCsvDialog=new TextareaDialog(this,mxResources.get("csv")+":",Editor.defaultCsvValue,mxUtils.bind(this,function(c){this.importCsv(c)}),null,null,620,430,null,!0,!0,mxResources.get("import"),this.isOffline()?null:"https://drawio-app.com/import-from-csv-to-drawio/"));this.showDialog(this.importCsvDialog.container,
640,520,!0,!0,null,null,null,null,!0);this.importCsvDialog.init()};EditorUi.prototype.importCsv=function(c,e){try{var g=c.split("\n"),k=[],m=[],p=[],v={};if(0<g.length){var x={},z=this.editor.graph,y=null,L=null,N=null,K=null,q=null,E=null,A=null,B="whiteSpace=wrap;html=1;",G=null,M=null,H="",F="auto",I="auto",R=null,W=null,P=40,V=40,U=100,X=0,n=function(){null!=e?e(ta):(z.setSelectionCells(ta),z.scrollCellToVisible(z.getSelectionCell()))},C=z.getFreeInsertPoint(),J=C.x,T=C.y;C=T;var Q=null,O="auto";