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",d.style.display="none");var q=document.createElement("option"),t=!1,v=!1,B=function(M,p){t||null!=M&&v||(K.checked?null!=p&&p(q.selected?null:d.value):""==H.value||b.isOffline()?(I.value="",G.value="",null!=p&&p("")):(H.value=mxUtils.trim(H.value),b.loadImage(H.value,function(y){I.value=y.width;G.value=y.height;null!=p&&p(H.value)},function(){b.showError(mxResources.get("error"),mxResources.get("fileNotFound"),mxResources.get("ok"));I.value="";G.value="";null!=p&&p(null)})))},F=mxUtils.bind(this,