← All Plugins
S
Media

SVG Upload Support

AddonLogic SVG Upload Support

About this Plugin

Allows selected WordPress user roles to upload .svg files to the media library. Every uploaded SVG is automatically sanitized using PHP's DOMDocument to strip scripts, event handler attributes, javascript: URIs, embedded iframes, and other XSS attack vectors before the file is saved. Provides SVG preview thumbnails in the media library grid.

Plugin Details

Category Media
Author Snehal Pancholi — Freelance Developer
Plugin Page https://addonlogic.com/svg-upload-support
Requires WordPress 6.0+, PHP 8.1+
License GPL-2.0+

Installation

  1. Download the plugin ZIP file using the button on this page.
  2. Go to WordPress Admin → Plugins → Add New.
  3. Click Upload Plugin and select the downloaded ZIP.
  4. Click Install Now then Activate Plugin.