# Qi Blocks <= 1.5.6 - Unauthenticated Arbitrary Shortcode Execution via Comment Author Name in Comments Template Block

- **ID:** WPSEC-2026-4590
- **Plugin:** Qi Blocks (`qi-blocks`), https://wordpress.org/plugins/qi-blocks/
- **Affected versions:** all versions before 1.5.7
- **Fixed in:** 1.5.7 (Update to 1.5.7 or later.)
- **Severity:** High 7.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-12-04)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/qi-blocks
- **Fix released:** 2026-12-03
- **Published:** 2026-12-04
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4590/

## Description

The Qi Blocks plugin for WordPress is vulnerable to Arbitrary Shortcode Execution via the Comments Template block in all versions up to, and including, 1.5.6. The block's rendered output includes the comment author's name in the comment reply links (their aria-label and data attributes) and in the comment form's 'Reply to %s' title without neutralizing square brackets, and that output is later run through shortcode processing. This makes it possible for unauthenticated attackers who can post comments to execute arbitrary shortcodes on pages that use the Comments Template block, provided comments are enabled on the post.

## References

- https://wpsec.com/vuln/WPSEC-2026-4590/
- https://plugins.svn.wordpress.org/qi-blocks/tags/1.5.7/
- https://wordpress.org/plugins/qi-blocks/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4590/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
