Make WordPress Core

Opened 7 years ago

Last modified 3 years ago

#40624 new defect (bug)

MP3 files with ID3v2 information can't be uploaded

Reported by: sophia4wp's profile sophia4wp Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.4
Component: Upload Keywords:
Focuses: Cc:


When I upload an mp3 to the Media Library that has any ID3v2 information, I receive an error, "Sorry, this file type is not permitted for security reasons.".

When I removed the ID3v2 information, and solely had ID3v1 information, the upload completed successfully.

mp3 files are an allowed file type in my WP installation. ALLOW_UNFILTERED_UPLOADS is false.

Change History (3)

#1 @johnbillion
7 years ago

  • Keywords reporter-feedback added

Thanks for the report @sophia4wp.

Could you link us to an MP3 which exhibits the problem, please?

#2 @ChrisHardie
6 years ago

I experienced this today on WordPress 4.9.1 multisite. Here's an MP3 file that yielded the "not permitted" error when I attempted to upload it:

Using the id3lib utilities on OS X, I stripped the ID3 tags from the file using id3convert --strip and it yielded this file, which then successfully uploaded to the media library:

Let me know if I can provide other useful information.

#3 @hellofromTonya
3 years ago

  • Keywords reporter-feedback removed
Note: See TracTickets for help on using tickets.