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:
ia.type,f+ba*l,k+ba*l,240,160,ia.name,function(ra){U(ba,function(){return ra})},ia):"image"==ia.type.substring(0,5)||"application/pdf"==ia.type?qa.readAsDataURL(ia):qa.readAsText(ia)}})(Z)});if(aa){aa=[];for(da=0;da<d.length;da++)aa.push(d[da]);d=aa;this.confirmImageResize(function(V){ma=V;P()},O)}else P()};EditorUi.prototype.isBlankFile=function(){return null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&this.currentPage.getName()==mxResources.get("pageWithNumber",[1])};EditorUi.prototype.confirmImageResize=