WordPress plugin intelligence profile

SaniGlyph SVG

Fail-closed SVG validation that preserves approved artwork, with role controls, Media Library previews, and securely escaped inline output.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.1.9
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.4 · PHP 7.4
Directory statusactive
Last directory update22 Oct 202611d ago
Active installationsNewAdoption 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 SaniGlyph SVG version 1.1.9 as active, updated 11d ago and tested up to WordPress 7.1.

Overview

About this plugin

SaniGlyph SVG enables SVG uploads for selected WordPress roles while keeping sanitization permanently enabled.

SVG files are XML-based and can contain active or externally referenced content. SaniGlyph SVG uses a fail-closed, allowlist-based validation pipeline before an uploaded SVG is stored. Unsafe or unsupported SVGs are rejected rather than silently rewritten.

Valid SVGs keep their original fills, strokes, CSS, gradients, XML formatting, and exporter-specific presentation markup.

Features

  • Always-on SVG sanitization. It cannot be disabled from the settings screen.
  • Plain.svg uploads only. Compressed.svgz uploads are intentionally not enabled.
  • Conservative optimization that preserves geometry, text spacing, and title/description accessibility content.
  • Role-based upload permissions in addition to WordPress’ normal upload_files capability; administrators are the secure default for new installs.
  • SVG dimensions and previews in the Media Library.
  • Optional inline rendering through the [saniglyph_svg] shortcode.
  • Dynamic Inline SVG block for the block editor.
  • No external services, telemetry, tracking, or remote code.

Inline shortcode

Enable inline rendering under Settings > SaniGlyph SVG, then use:

[saniglyph_svg id="123"]

Optional attributes:

[saniglyph_svg id="123" class="site-logo" width="160" height="48"]

Inline output is validated again at render time and escaped with a dedicated SVG KSES allowlist immediately before WordPress renders it. Scoped CSS rules preserve approved fills, strokes, gradients, filters, and local fragment references without changing KSES behavior elsewhere on the site.

What makes SaniGlyph different?

SaniGlyph focuses on a narrow security-and-fidelity workflow rather than merely adding the SVG MIME type. It rejects the complete upload when unsupported active content is found instead of silently removing pieces from the artwork. Accepted files pass validation before storage, again after optional optimization, and again before inline output.

Inline shortcode and block callbacks then apply WordPress KSES output escaping with SVG-specific rules scoped to that single render operation.

WordPress.org metadata

Plugin tags

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

  • block
  • media
  • optimization
  • security
  • svg
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.4 · PHP 7.4
Update activity22 Oct 202611d 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.1.71.1.9
WordPress compatibility7.17.1.3
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.