There are specific file types which WordPress allows their uploads and there are some known file types which WordPress denies their upload for security reasons.
Warning: If all file types are allowed to be uploaded to the Media Folder, it is actually a security concern. Your users (can be authors and subscribers/ customers) may upload executing file types.
If there are other users on your Blog, or if you are running WooCommerce website, you should Allow uploading of specific file types using functions.php.
When you use the code below, WordPress allows you and your users to upload file types with any extensions to your uploads directory.
/* Use Responsibly: Allow All File Type Upload */
define( 'ALLOW_UNFILTERED_UPLOADS', true );
Add the above code to your wp-config.php in the public_html folder. You must have File Manager/ FTP access to do so.
Also Read,