Easily improve site security with WordPress Hardening, Two-Factor Authentication (2FA), Login Protection, Vuln...
Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.
Safe SVG is a WordPress plugin that allows you to upload SVG files while ensuring they are sanitized to prevent vulnerabilities. It provides features such as SVG previews in the media library and the option to restrict uploads to specific users.
This plugin is suitable for users who want to incorporate SVG graphics into their WordPress sites without compromising security. It is particularly useful for developers and site administrators who need to manage file uploads effectively.
Best for: This plugin is best for WordPress users who need to safely manage SVG uploads.
What it does well
Where it falls short
Safe SVG offers essential security features for handling SVG files in WordPress. It is a practical choice for those looking to enhance their site's media capabilities while maintaining security.
10up's own description of Safe SVG, lightly tidied.
Safe SVG is the best way to Allow SVG Uploads in WordPress!
It gives you the ability to allow SVG uploads whilst making sure that they’re sanitized to stop SVG/XML vulnerabilities affecting your site. It also gives you the ability to preview your uploaded SVGs in the media library in all views.
add_filter( 'safe_svg_optimizer_enabled', '__return_true' );Initially a proof of concept for #24251.
SVG Sanitization is done through the following library: https://github.com/darylldoyle/svg-sanitizer.
SVG Optimization is done through the following library: https://github.com/svg/svgo.
Other plugins for securing a site.
Easily improve site security with WordPress Hardening, Two-Factor Authentication (2FA), Login Protection, Vuln...
Firewall, Malware Scanner, Two Factor Auth, and Comprehensive Security Features, powered by our 24-hour team....
The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam sol...
Loginizer is a WordPress security plugin which helps you fight against bruteforce attacks.
Protect your website investment with All-In-One Security (AIOS) – a comprehensive and easy to use security plu...
Top-rated antispam for contact forms, comments, WooCommerce, eCommerce, and login. No CAPTCHAs, no friction, j...