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:
C){var Fa=Q&&this.isResampleImageSize(U.size,V)?Math.min(1,Math.min(n/na,n/Aa)):1;return p(pa,U.type,e+W*g,k+W*g,Math.round(na*Fa),Math.round(Aa*Fa),U.name)}this.handleError({message:mxResources.get("imageTooBig")});return null}))}),Q,n,V,U.size)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else Y=Z.target.result,p(Y,U.type,e+W*g,k+W*g,240,160,U.name,function(ha){P(W,function(){return ha})},U)}catch(ha){P(W,mxUtils.bind(this,function(){return null})),