Blocksy Companion <= 2.1.63 - Unauthenticated Arbitrary Shortcode Execution via Search Query
- ID
- WPSEC-2026-4657
- Plugin
- Blocksy Companion (blocksy-companion)
- Affected
- all versions before 2.1.64
- Remediation
- Update to 2.1.64 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weakness
- CWE-94
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-04
- Attack surface
- Blocksy Companion on WPSec AttackSurface
- Fix released
- Published
Description
The Blocksy Companion plugin for WordPress is vulnerable to arbitrary shortcode execution via the search query ('s' parameter) in all versions up to, and including, 2.1.63, due to the Dynamic Data block inserting the search term into its 'Search Results for' archive title without neutralizing shortcode brackets. When the block's output is later processed for shortcodes, for example when the block sits in a block widget, the shortcode in the search term runs. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes by putting them in a search URL on sites that show a Dynamic Data block with the Archive Title source on search results pages.
References
- https://wpsec.com/vuln/WPSEC-2026-4657/
- https://plugins.svn.wordpress.org/blocksy-companion/tags/2.1.64/
- https://wordpress.org/plugins/blocksy-companion/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS