Assistance SVG
Securely upload SVG files to your media library, with built-in sanitization and advanced features for styling and animation.
Choix
Yes — SVG Support is a safe, well-maintained plugin to use in 2026. It runs on 1M+ sites, is rated 4.8/5 and was last updated 2 weeks ago, and scores 97/100 on our health check.
- L'un des plugins les plus utilisés sur le Web - 1 m+ sites actifs
- Loved by users — 4.8/5 from 356 reviews
- Développé activement — Dernière mise à jour il y a 2 semaines
- Testé avec le dernier WordPress (7.1)
- Momentum — downloads up 112.8% vs the previous 30 days
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where SVG Support stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| mime type | #3 |
| safe svg | #2 |
| sanitization | #1 |
| SVG | #1 |
| Vector | #2 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 4.8 from 356 reviews
About SVG Support
From the official readme · v2.6.4Description
The complete SVG solution for WordPress – secure, flexible, and easy to use.
SVG Support enables secure SVG uploads with powerful features for both basic users and developers:
✨ Key Features:
– Secure SVG uploads with automatic sanitization
– Inline rendering for direct CSS/JS manipulation
– File size optimization through minification
– Role-based access control
– Advanced developer options
– Multisite compatible
– Full Block Editor (Gutenberg) compatibility
🔒 Security First:
– Built-in sanitization removes potentially harmful code
– Role-based upload restrictions
– Comprehensive MIME type validation
🎨 Designer Friendly:
– Direct styling of SVG elements
– Animation support
– Custom class targeting
– Automatic dimension handling
💻 Developer Ready:
– Advanced mode for additional features
– REST API support
– Gutenberg compatible
– Extensive hooks and filters
Usage
Basic Usage:
– First, install and activate SVG Support via your WordPress dashboard
– Upload SVG files to your media library like any other image
– Works seamlessly with Image blocks, Cover blocks and featured images
Advanced Usage:
– Enable “Advanced Mode” for minification and inline rendering
– Customize with hooks and filters for tailored functionality
Block Editor Usage:
– Use Advanced Mode to enable inline rendering:
– Add the "style-svg" class to Image blocks
– Add the "style-svg" class to Cover blocks to render SVG backgrounds inline
– Use “Skip Nested SVGs” setting to control inline rendering of SVGs within Cover blocks
Classic Editor Usage:
– Use Advanced Mode to add the "style-svg" class to <img> tags for inline rendering
– Enable “Auto Insert Class” option for automatic class insertion in Classic Editor
Common Issues & Solutions:
– SVG not displaying? Ensure dimensions are set in CSS.
– Need help? Use the support tab and I will do my best to assist you.
Spin up a test site
With a single click, you can spin up a completely free test site to test SVG Support using TasteWP! No sign up, no cards, nothing! How cool is that? Give it a go:
Click Here to spin up a test site in seconds
La sécurité
SVG Support prioritizes security with automatic sanitization and role-based restrictions. Only trusted users should have upload permissions. Configure settings to balance functionality and security.
Services externes
SVG Support does not send your data anywhere on its own — everything it does (uploads, sanitization, inline rendering) happens entirely on your own site.
The one exception is opt-in: the plugin’s settings screen offers a sign-up form for the SVG Support Pro waitlist. If — and only if — you type your email address into that form and submit it, your browser sends that email address, plus a fixed label marking the plugin settings screen as the source (utm_source=svg-support-plugin), to Kit (kit.com), the newsletter service used for SVG Support announcements. Nothing is transmitted if you never use the form, no information is collected in the background, and every email includes a one-click unsubscribe.
Kit terms of service: https://kit.com/terms
Kit privacy policy: https://kit.com/privacy
Retour d'information
I’m open to your suggestions and feedback – Thanks for using SVG Support!
Follow @SVGSupport on Twitter
Follow @benbodhi on Twitter
Follow @benbodhi on Farcaster
Note: I hope you like this plugin! Please take a moment to rate it.
Development & Contributing
The development version of SVG Support is maintained on GitHub. Feel free to contribute:
- Submit bug reports or feature suggestions: GitHub Issues
- Contribute code via Pull Requests
- Development repository: GitHub
Traduction
Contribute translations here. New to translating? Check the Translator Handbook.
Journal de modifications
Shows a clear error, instead of a server error, when an SVG is uploaded on a server without the PHP Fileinfo extension. Small, safe update with no settings changes.
2.6.4
- Fixed:
- On servers without PHP’s Fileinfo extension, an SVG upload now stops with an error that names the missing extension, instead of a server error (HTTP 500) with no explanation. SVG uploads still need Fileinfo, so ask your host to enable it. Props to @hughc on GitHub for the fix
2.6.3
-
Security Enhancements:
- Updated the bundled SVG sanitizer (enshrined/svg-sanitize) to 1.1.1. On PHP 8, version 1.1.0 threw an error instead of rejecting an SVG that ends inside an unclosed tag (GHSA-f7cw-vfxq-7ph2). For an SVG stored through
wp_upload_bits(), as the WordPress Importer and some other plugins do, that left the file on disk unsanitized. Such a file is now rejected and deleted. Media Library, REST and XML-RPC uploads were never stored - Hardening: if the sanitizer ever fails with an error, the SVG is treated as one that can’t be sanitized and is rejected, instead of the error ending the request
- Updated the bundled SVG sanitizer (enshrined/svg-sanitize) to 1.1.1. On PHP 8, version 1.1.0 threw an error instead of rejecting an SVG that ends inside an unclosed tag (GHSA-f7cw-vfxq-7ph2). For an SVG stored through
-
Fixed:
- SVGs on offloaded media (such as S3 Uploads, which stores files at
s3://paths) now get their real width and height in the Media Library and in their attachment metadata, instead of 0×0. Those paths were mistaken for web addresses and downloaded over HTTP, which WordPress refuses, instead of being read as files
- SVGs on offloaded media (such as S3 Uploads, which stores files at
-
New Features:
- New
bodhi_svgs_remote_svg_urlfilter for the URL a remote SVG is downloaded from to read its dimensions, for example to sign URLs for a private bucket. Props to @dylanblokhuis on GitHub for the suggestion
- New
2.6.2
-
Security Enhancements:
- Fixed a stored XSS where SVGs uploaded over XML-RPC (
wp.uploadFileandmetaWeblog.newMediaObject, including .svgz) skipped sanitization. XML-RPC uploads are now sanitized before they are written, and any SVG stored throughwp_upload_bits()(importers and other plugins) is sanitized once it lands on disk. Exploiting it required a user who had been allowed to upload SVGs. Thanks to Het Kalariya for the report, and to WPScan (Automattic) for the coordinated disclosure - Fixed a stored XSS in Safari where an SVG animation such as
<animateTransform>could turn a link’s target into ajavascript:URL after sanitization. Animations can no longer target a link or an event handler, and script URLs are removed from animated values. Exploiting it required a user who had been allowed to upload SVGs. Thanks to Pierre Rudloff for the report, and to WPScan (Automattic) for the coordinated disclosure - Hardening: uploads from users without the
upload_filescapability (for example through a front-end upload form) are now always sanitized. “Do not sanitize for these roles” only applies to users who can upload files - Updated the bundled SVG sanitizer (enshrined/svg-sanitize) to 1.1.0, which fixes seven upstream security advisories (remote references, DTD entities, SMIL animations and several slow-input cases)
- Updated the bundled DOMPurify library to 3.4.17 for front-end sanitization of inline SVGs. The 2.x line no longer receives security fixes
- Fixed a stored XSS where SVGs uploaded over XML-RPC (
-
Behavior Changes (from the sanitizer update):
- Remote references are removed more thoroughly: a remote
<image>, or a remote CSSurl()or@import(such as a Google Fonts import) inside an SVG, is now stripped. Links (<a href="https://...">) are kept - SVGs that define their own DTD entities are now rejected by every upload route. The Media Library already refused them
- Remote references are removed more thoroughly: a remote
-
Fixed:
- No more
finfo_close()deprecation notice on every SVG upload under PHP 8.5 - Gzipped .svgz files now get their width and height read, instead of 0×0 and a PHP warning
- No more
-
Compatibility:
- Tested up to WordPress 7.1. No code changes were required — WordPress 7.1’s new client-side media processing only handles raster images (JPEG, PNG, GIF, WebP and AVIF), so SVG uploads keep running through this plugin’s own MIME validation and sanitization exactly as before.
-
New Features:
- Optional SVG Support Pro waitlist sign-up on the settings screen — join for launch news, early access and founding-supporter pricing. Your email address is sent only when you submit that form (see External Services above), and the free plugin stays free, like always.
2.6.1
- Fixed:
- Fatal error when uploading SVGs through WP-CLI (
wp media import, migration and hosting tooling) — the sanitizer instance never reached global scope in CLI contexts. No security impact: affected uploads crashed rather than skipping sanitization (failed closed). The sanitizer is now resolved through a defensive accessor, with regression tests covering the CLI loading context. Props to Cal from Toolshed for the excellent report.
- Fatal error when uploading SVGs through WP-CLI (
2.6.0
-
New Features:
- Completely redesigned settings screen with the new SVG Support brand — cleaner panels, real toggle switches, role picker chips, and a live code sample
- Settings now auto-save as you change them, with a save-state indicator (the classic Save button remains as a no-JS fallback)
- Advanced Mode now reveals its options instantly when toggled — no more save-and-reload
- Scannable QR codes for the BTC and ETH donation addresses (tap the QR icon next to each address)
- New brand site at https://svg.support with tutorials and documentation
-
Code Improvements:
- Removed the third-party jQuery dropdown multiselect (~1,000 lines) — role pickers are now dependency-free native checkboxes
- Fixed admin/front-end asset cache-busting: enqueued styles/scripts are now versioned with the plugin version (previously the version was empty, so browser caches never refreshed on update)
- Settings screen assets (fonts, icons, styles, JS) only load on the SVG Support settings page
- Removed the CodeKit build dependency — stylesheets are now plain CSS edited directly, and minified JS is regenerated with a simple in-repo script
2.5.17
-
Security Enhancements:
- Fixed a stored XSS sanitization bypass via the .svgz extension – .svgz uploads are now sanitized just like .svg (decompressing the gzip stream first when present), instead of skipping sanitization. This completes the earlier fixes for CVE-2024-10222 / CVE-2023-6708. Thanks to Shivamani Vastrala for the report, and to Erwan Le Rousseau (WPScan, Automattic) for the coordinated disclosure
- Browser uploads now run through the same sanitizer configuration as REST and import uploads (custom tag/attribute allow-lists and remote reference removal), keeping all upload paths consistent
- Added direct file access protection to the settings page so it can no longer be loaded outside of WordPress
-
Code Improvements:
- Renamed the internal final_output filter to bodhi_svgs_thumbs_final_output so it’s properly prefixed and can’t clash with other plugins
- Removed the redundant load_plugin_textdomain() call – WordPress automatically loads translations for plugins hosted on WordPress.org
- Documented the intentional direct database queries used for plugin meta cleanup (no functional change)
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best SVG Support alternatives
All mime type plugins →FAQ
SVG Support: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is SVG Support free?
Yes. SVG Support is free to download and use from the official WordPress.org plugin directory.
Is SVG Support safe to use in 2026?
Yes — SVG Support is a safe, well-maintained plugin to use in 2026. It runs on 1M+ sites, is rated 4.8/5 and was last updated 2 weeks ago, and scores 97/100 on our health check.
How many websites use SVG Support?
SVG Support is active on 1M+ WordPress websites and has been downloaded 16,288,830 times since it launched in July 2014. It was downloaded 772,369 times in the last 30 days.
Does SVG Support work with WordPress 7.1?
Yes. The developer has tested SVG Support up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.
What PHP version does SVG Support need?
SVG Support requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was SVG Support last updated?
The latest version, 2.6.4, was released on November 14, 2026 (2 weeks ago).
Who makes SVG Support?
SVG Support is developed and maintained by Benbodhi.
What are the best alternatives to SVG Support?
The most popular alternatives to SVG Support are MimeTypes Link Icons (8K+ installs), Rocket Media Library Mime T… (80+ installs) and Easy SVG Upload (10+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit









