Description
The WP Blockade plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'shortcode' parameter in all versions up to and including 0.9.14. This is due to insufficient input sanitization and output escaping in the render_shortcode_preview() function. The function receives user input from $_GET['shortcode'], passes it through stripslashes() without any sanitization, and then outputs it directly via echo do_shortcode($shortcode) on line 393. When the input is not a valid WordPress shortcode (e.g., an HTML tag with JavaScript event handlers), do_shortcode() returns it unchanged, and it is reflected into the page without escaping. The endpoint is registered via admin_post_ (not admin_post_nopriv_), meaning it requires the user to be logged in with at minimum a Subscriber-level account. There is no nonce verification or additional capability check. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary web scripts in pages that will execute if they can successfully trick a user into performing an action such as clicking a link.
Published: 2026-05-22
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The WP Blockade plugin for WordPress contains a reflected Cross-Site Scripting flaw in the 'shortcode' parameter handled by the render_shortcode_preview() function. The endpoint receives user input from $_GET['shortcode'], applies only stripslashes(), and then echoes do_shortcode($shortcode). If the supplied string is not a valid WordPress shortcode, do_shortcode() leaves it unchanged, resulting in the unsanitized input being rendered on the page. This allows an attacker to inject arbitrary HTML or JavaScript that will execute in the context of the page when a user visits the crafted URL.

Affected Systems

Vulnerable versions are all releases of WP Blockade—Visual Page Builder version 0.9.14 and earlier, distributed by BurlingtonBytes. The endpoint is registered via admin_post_, requiring login but granting access to any authenticated user with at least Subscriber-level privileges. No nonce check or additional capability verification is performed.

Risk and Exploitability

The CVSS score of 6.1 indicates a moderate severity. EPSS data is not available, and the vulnerability is not listed in CISA KEV, suggesting a lower immediate threat but still exploitable. The likely attack vector involves an authenticated user clicking a crafted link that includes a malicious 'shortcode' value. Once injected, the script runs in the browser of any user who views the rendered page, potentially enabling session hijacking, defacement, or data exfiltration. The absence of a nonce and capability guard makes the flaw straightforward to exploit for any logged‑in user with Subscriber or higher access.

Generated by OpenCVE AI on May 22, 2026 at 06:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WP Blockade Visual Page Builder to 0.9.15 or later, which removes the vulnerable parameter handling.
  • If an upgrade is not feasible, modify the plugin or add a custom snippet to enforce a capability check (e.g., require manage_options) or to terminate the request for non-admin users before processing the 'shortcode' parameter.
  • Disable the WP Blockade plugin entirely until a patched version is available to ensure the vulnerable endpoint is no longer accessible.

Generated by OpenCVE AI on May 22, 2026 at 06:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 22 May 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 22 May 2026 06:45:00 +0000

Type Values Removed Values Added
First Time appeared Burlingtonbytes
Burlingtonbytes wp Blockade – Visual Page Builder
Wordpress
Wordpress wordpress
Vendors & Products Burlingtonbytes
Burlingtonbytes wp Blockade – Visual Page Builder
Wordpress
Wordpress wordpress

Fri, 22 May 2026 05:00:00 +0000

Type Values Removed Values Added
Description The WP Blockade plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'shortcode' parameter in all versions up to and including 0.9.14. This is due to insufficient input sanitization and output escaping in the render_shortcode_preview() function. The function receives user input from $_GET['shortcode'], passes it through stripslashes() without any sanitization, and then outputs it directly via echo do_shortcode($shortcode) on line 393. When the input is not a valid WordPress shortcode (e.g., an HTML tag with JavaScript event handlers), do_shortcode() returns it unchanged, and it is reflected into the page without escaping. The endpoint is registered via admin_post_ (not admin_post_nopriv_), meaning it requires the user to be logged in with at minimum a Subscriber-level account. There is no nonce verification or additional capability check. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary web scripts in pages that will execute if they can successfully trick a user into performing an action such as clicking a link.
Title WP Blockade <= 0.9.14 - Reflected Cross-Site Scripting via 'shortcode' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

Burlingtonbytes Wp Blockade – Visual Page Builder
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-05-22T12:36:08.560Z

Reserved: 2026-03-03T14:45:44.658Z

Link: CVE-2026-3481

cve-icon Vulnrichment

Updated: 2026-05-22T12:36:04.926Z

cve-icon NVD

Status : Received

Published: 2026-05-22T05:16:25.640

Modified: 2026-05-22T05:16:25.640

Link: CVE-2026-3481

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-22T06:30:29Z

Weaknesses