🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
WP SVG Images icon
aktiv gepflegt Getestet mit WP 7.1 #2 in sanitization

WP SVG Images

Add SVG support to your WP website. Securely upload SVG files, automatic sanitization, Media Library preview.

Aktive Installationen30K+10K + Stufe
Downloads · 30d14.2K▲ 4.4× vs prev. 30d
Wertung5/513 Bewertungen
Gesundheits-Score90/100Ausgezeichnet
Downloads aller Zeiten355.6KSeit August 2016
Unterstützung gelöst1 / 1100% in den letzten 2 Monaten
erfordertWP 5.0PHP 7.4+
Downloads · 7d2.6K▼ -73.3% week over week
Unser Urteil

Sichere Auswahl

Yes — WP SVG Images is a safe, well-maintained plugin to use in 2026. It runs on 30K+ sites, is rated 5/5 and was last updated 2 weeks ago, and scores 90/100 on our health check.

  • Bewährt auf 30.000 aktiven Standorten
  • Aktiv entwickelt — letztes Update vor 2 Wochen
  • Getestet mit dem neuesten WordPress (7.1)
  • Momentum — downloads up 337.6% vs the previous 30 days

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

1.2K2.3K3.5KSep 3Oct 17Dec 1
Gestern489
Täglicher Durchschnitt (1 Jahr)158
Spitzentag5,108May 11, 2026
Letzte 12 Monate57.7K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where WP SVG Images stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
sanitization #3 4,799 Best sanitization plugins →
SVG #3 3,334 Best SVG plugins →
svg support #3 2,686 Best svg support plugins →
svg upload #3 2,936 Best svg upload plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 4.631.4%
  • 4.531.1%
  • 4.417.1%
  • 4.26.5%
  • Andere13.9%

Bewertungsaufschlüsselung

★★★★★★★★★★ 5 from 13 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About WP SVG Images

From the official readme · v4.6

Beschreibung

Securely upload SVG files to your Media Library. Uploaded SVG files are automatically sanitized.

SVG stands for Scalable Vector Graphics and is probably the most efficient way to display images.
WP SVG Images Plugin is an easy-to-use and lightweight plugin that allows you to upload SVG files to your media library safely and easily.

Merkmale

  • Support for SVG uploads to your Media Library.
  • Sanitize uploaded SVG files. Malicious SVG/XML files are rejected from upload.
  • Admin configurable SVG support for different user roles. Ability to disable SVG upload for different user roles.
  • Different user roles can upload and/or sanitize the uploaded SVG images.
  • SVG preview in Media Library.

Unterstützen

24/7 SVG support offered by ShortPixel here or here.

Recommended plugins

This plugin is supported & maintained by ShortPixel.
Other popular plugins by ShortPixel:
FastPixel Caching – WP Optimization made easy
ShortPixel Image Optimizer – Image optimization & compression for all the images on your website, including WebP delivery – ShortPixel Image Optimizer.
ShortPixel Adaptive Images – On-the-fly image optimization & CDN delivery.
Enable Media Replace – Easily replace images or files in Media Library.
reGenerate Thumbnails Advanced – Easily regenerate thumbnails.
Resize Image After Upload – Automatically resize each uploaded image.

Hooks for developers

WPSVG_setAllowedTags

Allows you to specify more tags that will be not removed during sanitization

add_filter( 'WPSVG_setAllowedTags', 'my_custom_allowed_svg_tags', 10, 1 );
function my_custom_allowed_svg_tags( $tags ){
    $tags[] = 'path';
    return $tags;
}

WPSVG_setAllowedAttrs

Allows you to specify more attributes that will be not removed during sanitization

add_filter( 'WPSVG_setAllowedAttrs', 'my_custom_allowed_svg_attributes', 10, 1 );
function my_custom_allowed_svg_attributes( $attributes ){
    $attributes[] = 'fill';
    return $attributes;
}

Installation

  1. Upload wp-svg-images directory to the /wp-content/plugins/ directory
  2. Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress

Änderungsprotokoll

4.6

🔒 The Security & Sanitization Update

Release Date: November 20, 2026

🔒 Security

  • Sanitization by File Type: Every file accepted as an SVG (.svg or .svgz) is now sanitized based on its extension, no matter what the content detection reports. Previously, a file starting with a comment or a line break, as well as any .svgz file, could skip the sanitization. First reported by @kta1kri and also safely disclosed by Suresh Pantha via the WPScan team.
  • SVG Animations: Animation elements can no longer change a link target or another URL attribute into a script, preventing a potential stored cross-site scripting issue in Safari and other WebKit browsers, safely disclosed by Pierre Rudloff via the WPScan team.
  • All Upload Paths Covered: SVG files added through the REST API, sideloads (for example images imported from a URL) and WP-CLI imports are now sanitized as well.
  • WP All Import: SVG and SVGZ files imported with WP All Import are now always sanitized, and a file that cannot be sanitized is no longer kept.
  • Sanitizer Library Update: Updated the bundled SVG sanitizer to version 1.1.1, which brings several security fixes and much faster processing of large files.

⚙️ Improvements

  • Works Right After Activation: Sanitized SVG uploads are now available as soon as the plugin is activated, for the roles that can upload files, exactly as the settings page shows. Before, the settings had to be saved once.
  • Clear Upload Errors: A file that cannot be sanitized (for example a broken file or a web page renamed to .svg) is now refused with a clear message, instead of ending the upload with an error.
  • Faster Uploads of Large SVGs: Checking large SVG files with many elements is now much faster, especially on PHP versions older than 8.3.
  • Minimum Requirements: The plugin now declares its minimum requirements (WordPress 5.0 and PHP 7.4), so WordPress will no longer install or update it on older, unsupported versions.
  • Translations: The plugin now uses its WordPress.org slug as text domain, so the translations from translate.wordpress.org are loaded automatically. Several texts were also corrected.

🛠️ Fixes

  • SVGZ Dimensions: Compressed SVG files (.svgz) now get their correct width and height, and no longer trigger PHP warnings on upload.
  • CDATA Sections: SVG files that contain CDATA sections (for example inline styles) are now sanitized correctly.

We highly recommend updating to this version to keep your site safe and secure! 💪🔐

4.5

🧩 The Compatibility Update

Release Date: May 11, 2026

🛠️ Fixes

  • PHP 8.4+ Deprecation Fix: Resolved a deprecation warning to ensure smooth compatibility with PHP 8.4 and newer versions.
  • MIME Type Validation: Added extra validation to prevent errors when uploaded files are sent with incorrect MIME types.

Update now for improved compatibility and more reliable uploads! 🚀

4.4

🔒 Security Update

Release Date: January 23, 2025

🛠️ Fixes

  • Security Patch: Resolved another potential Cross-Site Scripting (XSS) vulnerability, responsibly disclosed by the amazing team at WordFence and discovered by Ryan Zegar.

We highly recommend updating to this version to ensure your site remains safe and secure. 💪🔐

4.3

Release date: June 20th, 2024
* Fix: Patched a Stored Cross-Site Scripting vulnerability found by Colin Xu and responsibly disclosed by the WordFence team;
* Compat: Added compatibity with WP All Import plugin;
* Compat: Tested with the latest versions of WordPress (6.6) and PHP (8.3).

4.2

Release date: April 6th, 2023
* Compat: Tested on WordPress 6.2;
* Compat: Updated SVG sanitizer scripts;
* Tweak: Skip percentage width and height when reading SVG dimensions.

4.1

Release date: August 1st, 2022
* Tweak: auto hide the settings notice after visiting the settings page;
* Compat: tested the compatibility with WordPress 6.0;
* Fix: the settings link and button from the notice now work fine on all WordPress installs.

Vollständiges Änderungsprotokoll auf WordPress.org →

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.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best WP SVG Images alternatives

All sanitization plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 SVG-Unterstützung SVG-Unterstützung Laden Sie SVG-Dateien sicher in Ihre Medienbibliothek hoch, mit integrierter Desinfektion und fortschrittlicher… von Benbodhi 1M+ ★★★★★★★★★★ 4.8 (356) Vor 3 Wochen 97
3 Sanitize DB Sanitize DB The plugin sanitizes the database by removing the unused meta entries and other unlinked… by anku1991 <10 ★★★★★★★★★★ Keine Bewertungen Vor 4 Jahren 21
4 SEO File Renamer SEO File Renamer A super simple plugin for uploaded file name sanitization. by Kinski & Bourke <10 ★★★★★★★★★★ 5 (1) Vor 5 Jahren 28

Fragen und Antworten

WP SVG Images: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is WP SVG Images free?

Yes. WP SVG Images is free to download and use from the official WordPress.org plugin directory.

Is WP SVG Images safe to use in 2026?

Yes — WP SVG Images is a safe, well-maintained plugin to use in 2026. It runs on 30K+ sites, is rated 5/5 and was last updated 2 weeks ago, and scores 90/100 on our health check.

How many websites use WP SVG Images?

WP SVG Images is active on 30K+ WordPress websites and has been downloaded 355,569 times since it launched in August 2016. It was downloaded 14,247 times in the last 30 days.

Does WP SVG Images work with WordPress 7.1?

Yes. The developer has tested WP SVG Images up to WordPress 7.2, the latest release. It requires WordPress 5.0 or newer.

What PHP version does WP SVG Images need?

WP SVG Images requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was WP SVG Images last updated?

The latest version, 4.6, was released on November 20, 2026 (2 weeks ago).

Who makes WP SVG Images?

WP SVG Images is developed and maintained by ShortPixel.

What are the best alternatives to WP SVG Images?

The most popular alternatives to WP SVG Images are SVG Support (1M+ installs), Sanitize DB (<10 installs) and SEO File Renamer (<10 installs).

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

↑↓ bewegen↵ öffnen