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:
"none",c.style.display="none");var n=document.createElement("option"),p=!1,t=!1,y=function(J,m){p||null!=J&&t||(R.checked?null!=m&&m(n.selected?null:c.value):""==I.value||b.isOffline()?(G.value="",C.value="",null!=m&&m("")):(I.value=mxUtils.trim(I.value),b.loadImage(I.value,function(v){G.value=v.width;C.value=v.height;null!=m&&m(I.value)},function(){b.showError(mxResources.get("error"),mxResources.get("fileNotFound"),mxResources.get("ok"));G.value="";C.value="";null!=m&&m(null)})))},A=mxUtils.bind(this,