WP Manifestindependent plugin directory
manifest / media / stfq-svg-upload

STFQ SVG Upload

STFQ SVG Upload extends the functionality of the WordPress media library by enabling users to upload SVG (Scalable Vector Graphics) files securely.

★ 0stars
14release downloads
1.0latest · 2 years ago

Install

Download stfq-svg-upload.zip From the 1.0 release on GitHub, May 13, 2024

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/heliogoodbye/stfq-svg-upload/releases/download/1.0/stfq-svg-upload.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

STFQ SVG Upload extends the functionality of the WordPress media library by enabling users to upload SVG (Scalable Vector Graphics) files securely. With SVG becoming increasingly popular for web graphics due to its scalability and flexibility, this plugin ensures that WordPress users can incorporate SVG images into their websites without compromising security.

Key Features:

  1. SVG Upload Support: Allows users to upload SVG files directly to the WordPress media library, just like other supported image formats.

  2. Sanitization: Implements a custom sanitization process to ensure that uploaded SVG files are safe for use on the website. The sanitization logic removes potentially harmful elements and attributes from the SVG content, mitigating security risks associated with SVG files.

  3. Event Handler Removal: Eliminates event handler attributes (e.g., onload, onclick) from SVG elements to prevent any unintended execution of scripts embedded within SVG files.

  4. Script Tag Removal: Removes all `

Releases

1 release. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
1.0 latest
May 13, 2024 2 years ago
stfq-svg-upload.zip
14