SVG Enabler
Safely upload SVG files to WordPress. Every SVG is sanitized to remove scripts, event handlers and remote references before it is stored.
Solide Wahl
SVG Enabler is a solid plugin choice in 2026, with a few things worth checking first. It runs on 30+ sites and was last updated 2 months ago, and scores 63/100 on our health check.
- Getestet mit dem neuesten WordPress (7.1)
- Kleine Benutzerbasis (30+ aktive Installationen)
- Bisher sehr wenige Bewertungen
Tägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where SVG Enabler stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| allow svg upload | #35 |
| SVG | #62 |
| svg sanitizer | #10 |
| svg support | #45 |
| svg upload | #46 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About SVG Enabler
Aus der offiziellen Readme · V2.0.0Beschreibung
SVG Enabler lets you upload SVG files to the WordPress media library while making sure each file is safe.
SVG is an XML format, which means it can carry JavaScript, event handler attributes, external references and XML entities. Uploading an unsanitized SVG is equivalent to allowing arbitrary HTML and JavaScript uploads. This plugin sanitizes every SVG during upload, before the file is written to your uploads directory.
What gets removed
<script>elements and inline JavaScript- Event handler attributes such as
onload,onclick,onerror javascript:URLs in links and attributes<foreignObject>payloads- Remote references in
<image>,<use>,hrefandxlink:href - Remote
url()and@importrules inside<style>blocks - XML entities and DTD declarations (XXE)
- CSS
expression()andbehavior:declarations
Merkmale
- SVG and SVGZ upload support
- Sanitizes on upload, before the file reaches the uploads folder
- Uses the actively maintained
enshrined/svg-sanitizelibrary (0.22.0+) - Correct image dimensions in the media library, editor and srcset
- Works with the block editor, classic editor and featured images
- Filterable allow-lists and capability requirements
- No settings screen required, works out of the box
Installation
INSTALL “SVG Enabler” FROM WITHIN WORDPRESS
- Visit the plugins page within your dashboard and select ‘Add New’;
- Search for ‘SVG Enabler’;
- Activate SVG Enabler from your Plugins page;
- You are done. Upload an SVG from the media library.
INSTALL “SVG Enabler” MANUALLY
- Upload the ‘svg-enabler’ folder to the /wp-content/plugins/ directory;
- Activate the SVG Enabler through the ‘Plugins’ menu in WordPress;
- You are done.
Änderungsprotokoll
Security release. Fixes two sanitizer bypasses and an upstream library affected by CVE-2025-55166, and fixes a fatal error that broke SVG uploads. Upgrading is strongly recommended.
2.0.0
Sicherheit
- Fixed a sanitizer bypass: remote references in
href,xlink:href,srcand similar attributes are now removed. Previously an uploaded SVG could contact an external server. - Fixed a sanitizer bypass:
@import, remoteurl()references,expression()andbehavior:inside<style>blocks are now removed. - Upgraded
enshrined/svg-sanitizefrom 0.15.4 to 0.22.0. The old version was affected by CVE-2025-55166, CVE-2022-23638 and CVE-2019-10772. - SVG uploads now require the
manage_optionscapability by default, instead of relying onunfiltered_upload, which WordPress only grants on multisite.
Fixed
- Fixed a fatal error on every SVG upload:
svgFileValidator()called$this->sanitize(), a method that did not exist. - Fixed a fatal error caused by registering
svgFileValidator()forwp_check_filetype_and_extwith four accepted arguments while the callback only accepted one. - Removed a recursive call to
wp_check_filetype_and_ext()from inside its own filter. - Fixed undefined
$widthand$heightvariables ingetImageTagOverride()when$sizewas not an array. - Fixed the
optimisthub_svg_enabler_allowed_attributesand_allowed_tagsfilters being applied but their return values discarded, which made both filters do nothing. - Fixed SVG images rendering as 1×1 pixels in the editor and on the front end. Real width and height are now derived from the SVG’s
width/heightorviewBox. - Fixed srcset generating broken entries for SVG attachments.
- Added a media library preview and correct attachment dimensions.
Changed
- Rewritten as a namespaced, PSR-4 autoloaded plugin (
OptimistHub\SvgEnabler). - Sanitization now runs before the file is moved into the uploads directory.
- Added
composer.jsonso dependencies are reproducible; the previouscomposer.jsonwas excluded by.gitignore. - Requires WordPress 6.0 and PHP 7.4 or newer.
- The plugin now refuses to enable SVG uploads when PHP lacks the
domandlibxmlextensions, and shows an admin notice explaining why.
1.0.3
- Author name issue.
1.0.2 – 1.0.1
- Github Action
1.0.0
- Stable version released
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Fragen und Antworten
SVG Enabler: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is SVG Enabler free?
Yes. SVG Enabler is free to download and use from the official WordPress.org plugin directory.
Is SVG Enabler safe to use in 2026?
SVG Enabler is a solid plugin choice in 2026, with a few things worth checking first. It runs on 30+ sites and was last updated 2 months ago, and scores 63/100 on our health check.
How many websites use SVG Enabler?
SVG Enabler is active on 30+ WordPress websites and has been downloaded 3,517 times since it launched in January 2023. It was downloaded 170 times in the last 30 days.
Does SVG Enabler work with WordPress 7.1?
Yes. The developer has tested SVG Enabler up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does SVG Enabler need?
SVG Enabler requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was SVG Enabler last updated?
The latest version, 2.0.0, was released on October 4, 2026 (2 months ago).
Who makes SVG Enabler?
SVG Enabler is developed and maintained by Optimist Hub.
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
