Safely upload SVGs to the Media Library, sanitize/minify them, and even render them inline for direct styling/animation of internal elements.
Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.
This plugin expands file-related security and sanity around the upload process.