Qi Blocks <= 1.5.4 - Authenticated (Contributor+) Sensitive Information Exposure via Blog List 'post_type' Parameter
- ID
- WPSEC-2026-3874
- 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:U/C:L/I:N/A:N
- Weakness
- CWE-200
- 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 Sensitive Information Exposure via the Blog List block and its qi-blocks/v1/get-blog-posts REST API endpoint in all versions up to, and including, 1.5.4. This is due to the qi_blocks_get_query_params() function passing the user-supplied post_type (along with taxonomy, orderby and posts_per_page) into WP_Query without checking that the post type or taxonomy is publicly viewable. This makes it possible for authenticated attackers, with Contributor-level access and above, to list the titles and excerpts of published posts of non-public post types, such as WooCommerce coupon codes (shop_coupon).
References
- https://wpsec.com/vuln/WPSEC-2026-3874/
- 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