What the vulnerability does
01Description
The Vayu Blocks – Gutenberg Blocks for WordPress & WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘containerWidth’ parameter in all versions up to, and including, 1.3.1 due to a missing capability check on the vayu_blocks_option_panel_callback() function and insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
Vayu Blocks contains a stored cross-site scripting (XSS) vulnerability in versions up to 1.3.1. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other site visitors, potentially compromising their sessions or stealing data. The vulnerability affects the block editor interface and persists across page loads.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers when they view affected pages.
Potential impact on your site
04Site Impact
Visitors and admins may have their sessions hijacked, credentials stolen, or site content defaced by injected scripts.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege authenticated account (e.g., contributor or subscriber role).
Key dates
06Disclosure timeline
June 3, 2025
CVE published
April 8, 2026
Record updated