Enable SVG, WebP & ICO Upload <= 1.1.5 - Authenticated (Author+) Stored Cross-Site Scripting via SVG File Upload

Medium 6.4 CWE-79Fixed in 1.1.6
ID
WPSEC-2026-1678
Plugin
Enable SVG, WebP, and ICO Upload (enable-svg-webp-ico-upload)
Affected
all versions before 1.1.6
Remediation
Update to 1.1.6 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-27
Attack surface
Enable SVG, WebP & ICO Upload on WPSec AttackSurface
Fix released
Published

Description

The Enable SVG, WebP, and ICO Upload plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG file uploads in all versions up to, and including, 1.1.5. This is due to insufficient sanitization. The SVG sanitizer ran only when a file's content was detected as SVG, so a .svg file with non-SVG markup (for example an XHTML document) was stored unsanitized. The sanitizer was also attached only to the wp_handle_upload_prefilter hook, so files uploaded through wp_handle_sideload (for example a raw-body upload to the REST API media endpoint) were never sanitized. This makes it possible for authenticated attackers, with Author-level access and above, to upload malicious SVG files that execute arbitrary web scripts whenever a user accesses the uploaded file.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0