WP Manifestindependent plugin directory
manifest / security / lw-enable

LW Enable

Enable WordPress features: SVG uploads and more

by LW Plugins · github.com/lwplugins/lw-enable · website

0stars
22release downloads
131composer installs
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/lwplugins/lw-enable/releases/download/v1.0.14/lw-enable-1.0.14.zip

Also on Packagist as lwplugins/lw-enable:

composer require lwplugins/lw-enable

From the readme

Lightweight Enable Enable WordPress features: SVG uploads and more. Features Media - SVG Uploads - Allow SVG file uploads with comprehensive security sanitization - MIME type registration - Script/XSS detection and blocking - XXE (XML External Entity) protection - Event handler detection - Obfuscation detection (Unicode/hex escapes, entity encoding) - Automatic SVG dimension extraction (width/height and viewBox) - 5MB file size limit - Post-upload re-validation Installation Or download and upload to /wp-content/plugins/. Usage Admin UI 1. Go to LW Plugins → Enable 2. Check the features you want to enable 3. Save WP-CLI Available features: | Feature | Description | |---------|-------------| | svg | SVG file uploads with security sanitization | Security SVG files can contain malicious code. This plugin performs comprehensive sanitization before allowing uploads: - 34 dangerous patterns detected (scripts, event handlers, external entities, data URIs, etc.) - Entity decoding to catch obfuscated payloads - XML validation via DOMDocument - Post-upload verification - files are re-checked after WordPress processes them - Automatic cleanup - invalid files are

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v1.0.14Sep 6, 2026lw-enable-1.0.14.zip3
v1.0.13Aug 20, 2026lw-enable-1.0.13.zip2
v1.0.12Jul 18, 2026lw-enable-1.0.12.zip1
v1.0.11Mar 22, 2026lw-enable-1.0.11.zip6
v1.0.10Mar 22, 2026lw-enable-1.0.10.zip0
v1.0.9Mar 17, 2026lw-enable-1.0.9.zip0
v1.0.8Feb 12, 2026lw-enable-1.0.8.zip2
v1.0.7Feb 12, 2026lw-enable-1.0.7.zip0
v1.0.6Feb 9, 2026lw-enable-1.0.6.zip0
v1.0.5Feb 9, 2026lw-enable-1.0.5.zip1
v1.0.4Feb 8, 2026lw-enable-1.0.4.zip1
v1.0.3Feb 7, 2026lw-enable-1.0.3.zip1
v1.0.2Feb 7, 2026lw-enable-1.0.2.zip1
v1.0.1Feb 6, 2026lw-enable-1.0.1.zip1
v1.0.0Feb 6, 2026lw-enable-1.0.0.zip3