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.
Published: 2025-06-03
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting that permits authenticated users with at least Subscriber level to insert arbitrary scripts into pages, which execute for any visitor
Action: Patch Now
AI Analysis

Impact

The Vayu Blocks plugin for WordPress allows a stored cross‑site scripting flaw via the containerWidth parameter. The flaw occurs because the option panel callback lacks a capability check and the parameter is not properly sanitized or escaped. Attackers who can authenticate as a Subscriber or higher can inject malicious JavaScript that will run every time a user visits an affected page. Based on the description, it is inferred that the injected scripts could be used to deface content, steal session cookies, or execute other malicious actions in the context of the site visitor.

Affected Systems

Themehunk’s Vayu Blocks – Website Builder for the Block Editor is affected in all releases up to and including version 1.3.1. No other versions were mentioned by the CNA. The plugin runs in WordPress sites that have been installed with those versions.

Risk and Exploitability

The CVSS base score of 6.4 signals moderate severity, and the EPSS score of less than 1% indicates a low probability of exploitation in the wild. The vulnerability is not in the CISA KEV catalog. Exploitation requires only authenticated access with Subscriber privileges on a WordPress instance; an attacker would use the plugin’s option panel to submit a containerWidth value that includes malicious code. Once stored, the code executes in the browser context of any visitor who loads the modified block, making it a serious threat to confidentiality, integrity, and availability of the site’s users.

Generated by OpenCVE AI on April 22, 2026 at 01:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Immediately update the Vayu Blocks plugin to any version newer than 1.3.1, where the containerWidth input is validated and proper capability checks are enforced.
  • If an update cannot be applied, reduce or remove the permissions that allow Subscribers to edit block settings, or employ a capability management plugin to block access to the containerWidth parameter.
  • Add a custom sanitization filter that strips script tags or enforces numeric input on the containerWidth field before it is stored, ensuring only benign values are accepted.
  • Discontinue use of the Vayu Blocks plugin until a patch is released.

Generated by OpenCVE AI on April 22, 2026 at 01:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-16713 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.
History

Tue, 03 Jun 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 03 Jun 2025 08:30:00 +0000

Type Values Removed Values Added
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.
Title Vayu Blocks <= 1.3.1 - Missing Authorization to Authenticated (Subscriber+) Stored Cross-Site Scripting via containerWidth Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:27:28.775Z

Reserved: 2025-05-08T00:07:55.910Z

Link: CVE-2025-4420

cve-icon Vulnrichment

Updated: 2025-06-03T13:28:09.612Z

cve-icon NVD

Status : Deferred

Published: 2025-06-03T09:15:22.673

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-4420

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T01:30:05Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')