WordPress plugin intelligence profile

SVG Enabler

Safely upload SVG files to WordPress. Every SVG is sanitized to remove scripts, event handlers and remote references before it is stored.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version2.0.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.0 · PHP 7.4
Directory statusactive
Last directory update4 Oct 202628d ago
Active installations30Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records SVG Enabler version 2.0.0 as active, updated 28d ago and tested up to WordPress 7.1.

Overview

About this plugin

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>, href and xlink:href
  • Remote url() and @import rules inside <style> blocks
  • XML entities and DTD declarations (XXE)
  • CSS expression() and behavior: declarations

Features

  • SVG and SVGZ upload support
  • Sanitizes on upload, before the file reaches the uploads folder
  • Uses the actively maintained enshrined/svg-sanitize library (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
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • allow svg upload
  • svg sanitizer
  • svg support
  • svg upload
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.0 · PHP 7.4
Update activity4 Oct 202628d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version1.0.32.0.0
WordPress compatibility6.1.127.1.2
WordPress requirement5.06.0
PHP requirement7.17.4
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.