WP Manifestindependent plugin directory
manifest / media / wp-kses-svg

Wp Kses Svg

SVG uploads and sanitization for WordPress using wp_kses() — no external libraries. Proof of concept for Core Trac #24251.

★ 0stars
31release downloads
0.1.0latest · 4mo ago

Install

Download wp-kses-svg.0.1.0.zip From the 0.1.0 release on GitHub, Jun 4, 2026

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

Install straight from GitHub with WP-CLI:

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

SVG uploads and inline sanitization for WordPress, built on wp_kses() — no external libraries required.

Description

WP KSES SVG brings SVG support to WordPress without sacrificing the security guarantees that the Core team has always demanded. It does not fight the Core philosophy — it speaks its language.

Every objection that has kept SVG out of Core is addressed directly:

"SVGs can execute JavaScript." The sanitizer rejects any file the moment a `

Releases

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

Tag
Published
Assets
Downloads
0.1.0 latest
Jun 4, 2026 4mo ago
wp-kses-svg.0.1.0.zip
31