Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
themehunk Vayu Blocks – Website Builder for the Block Editor
Default version status: unaffected
0 to ≤ 1.3.1affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/db01bc0a-4508-4fb5-941d-3f1a52528e2b?source=cve ↗
- https://plugins.trac.wordpress.org/browser/vayu-blocks/trunk/inc/admin-api.php#L6 ↗
- https://wordpress.org/plugins/vayu-blocks/#developers ↗
- https://plugins.trac.wordpress.org/changeset/3303594/ ↗