SVG Gate
Allow SVG uploads only after they are sanitized.
SVG Gate is a proposed WordPress plugin — Allow SVG uploads only after they are sanitized. It is not available for download yet — 0 of the 40 votes needed have been cast. Vote to move it forward, or join the waitlist to be emailed on release.
Updated
At a glance
- Platform
- WordPress
- Status
- Collecting votes
- Votes
- 0 of 40 (40 to go)
- Requirements
- WordPress 6.4+, PHP 8.1+
- Integrations
- Media Library
- Pricing
- Free
- Build time
- ~3 weeks after threshold
The problem
Teams either block SVGs and recreate logos as PNG, or allow raw SVG and accept the script risk.
Who this WordPress plugin is for
Design-led WordPress sites that need logos and icons in the media library.
SVG Gate is a proposed WordPress plugin for logos that should stay vectors.
An upload is sanitized before it is stored. Files with script are rejected. Only the roles you allow can upload SVG. It is not an icon pack or an image optimizer.
Proposed plugin features
What this WordPress plugin would include in an initial release.
-
Sanitize on upload
The stored file is a cleaned SVG, not the original upload.
-
Reject script
Script, event handlers, and external references fail the upload with a reason.
-
Role allow list
Authors can be blocked while editors and administrators may upload.
Not in the first release
Kept out of scope on purpose, so the first version ships small and focused.
- An icon library
- Image optimization
- A media CDN
Concept screens
What happens after you vote
Every draft follows the same path from proposal to release.
-
1
Collecting votes You are here
The community decides whether this plugin gets built.
-
2
Threshold reached
Enough votes — the draft enters the build queue.
-
3
In development
Scope stays close to the published feature list.
-
4
Ready to download
Waitlisted voters are emailed first, with download details.
Media Library
WordPress 6.4+, PHP 8.1+
Free
Blocking SVG entirely, a snippet that allows unsanitized SVG, converting every logo to PNG
Frequently asked questions
Common questions about this WordPress plugin draft.
Are uploaded SVGs stored unchanged?
No. The file is sanitized first. A file that cannot be cleaned is rejected.
Can every role upload SVG?
Only roles you allow. The default proposal is editor and administrator.
Is SVG Gate available to download yet?
No. SVG Gate is a proposed WordPress plugin, not a finished download. It has 0 of the 40 votes needed before development starts.
What does SVG Gate do?
Allow SVG uploads only after they are sanitized. It is a WordPress plugin proposal published on DraftPlugins, where the community votes on which drafts get built.
When will SVG Gate be released?
Estimated build time is ~3 weeks after threshold. Everyone on the waitlist is emailed as soon as it ships.
How much will SVG Gate cost?
Expected pricing: Free. Pricing for a draft is indicative and can change before release.
How do I get notified when SVG Gate is ready?
Vote on this page and join the waitlist with your email. We only email you about SVG Gate — release notes and access details.
What does SVG Gate require?
Planned requirements: WordPress 6.4+, PHP 8.1+.