I have this problem all the time, it happens when you try to upload an avatar from specific websites like ezgif.
Host it on imgur and it should fix the problem.
possible attack vector
Copyright © MafiaScum. All rights reserved.