Qi Blocks <= 1.5.4 - Authenticated (Author+) Stored Cross-Site Scripting via SVG File Upload
- ID
- WPSEC-2026-3873
- Plugin
- Qi Blocks (qi-blocks)
- Affected
- all versions before 1.5.5
- Remediation
- Update to 1.5.5 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 Medium · Affected versions Medium among sites WPSec scans, 2026-11-25
- Attack surface
- Qi Blocks on WPSec AttackSurface
- Fix released
- Published
Description
The Qi Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG file uploads in all versions up to, and including, 1.5.4. This is due to the plugin allowing SVG uploads for every user who can upload media, while only sanitizing the file when the client-declared Content-Type is image/svg+xml and never sanitizing sideloaded files, such as raw-body uploads to the REST media endpoint. This makes it possible for authenticated attackers, with Author-level access and above, to upload SVG files containing arbitrary web scripts that execute whenever a user accesses the uploaded file.
References
- https://wpsec.com/vuln/WPSEC-2026-3873/
- https://plugins.svn.wordpress.org/qi-blocks/tags/1.5.5/
- https://wordpress.org/plugins/qi-blocks/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS