	function imagePreview(src) {
		imgPreview.getElement().setHtml('');
		if (isFReaderSupported) {
			var fileI = t.getContentElement('tab-source', 'file');
			var n = null;
			try {
				n = fileI.getInputElement().$;
			} catch (e) {
				n = null;
			}
			if (n && 'files' in n && n.files && n.files.length > 0 && n.files[0]) {
				if ('type' in n.files[0] && !n.files[0].type.match('image.*')) return;
				if (!FileReader) return;
				imgPreview.getElement().setHtml('Loading...');
				var fr = new FileReader();
				fr.onload = (function (f) {
					return function (e) {
						imgPreview.getElement().setHtml('');
						imagePreviewLoad(e.target.result);
					};
				})(n.files[0]);
				fr.onerror = function () {
					imgPreview.getElement().setHtml('');
				};
				fr.onabort = function () {
					imgPreview.getElement().setHtml('');
				};
				fr.readAsDataURL(n.files[0]);
			}
		}
	}
The software allows the attacker to upload or transfer files of dangerous types that can be automatically processed within the product's environment.