I have enabled SVG uploading for my Wordpress logo using the answer provided on this stack link, despite having read, in numerous places, that SVG support in a Wordpress site opens it up to scripting attacks. Here is just one such source:
For what security reasons are svgs blocked in the media uploader?
My question is three-fold:
1) As I understand it, the hack I used (based on the above link) allows me to upload SVGs for the logo. Does that also mean that end-users (non-admins) can upload malicious SVGs that can do real damage to my site if I allow them to upload files?
2) If it does allow users to upload malicious SVG files, is there any other code I can use to defend my site from attacks?
3) If there is a vulnerability introduced by the SVG fix I used, what sort of damage could a hacker do? What kind of commands would need to happen to trigger the malicious scripts?
Thanks!