I don’t have a lot references on SVG risks, the only thing I really have found is this video from 2011: https://www.youtube.com/watch?v=v-a77QdoK2I. That stackoverflow question also looks like it outlines the basic issues, at least in the accepted answer.
Your note is good general advice, as you say. My main concern is that not enough people know SVG is not just an image media type. True that most image formats can be exploited, but a “while(true);” statement isn’t even an exploit in SVG and it locks up the browser. I think since this is a popular SVG upload plugin it’s a great place to mention that SVG is a bit more volatile than other image formats.
Personally I would run all my SVG through a purifier but I haven’t had a situation where I need to allow SVG uploads. However SVG is definitely here to stay and I have been considering writing a plugin that does that.
Thanks for your response, I appreciate your willingness to look into this.