/

CVE-2026-133361

Severity:

HIGH RISK

(7.2)

Stored XSS (CWE-79) in BlockStrap Page Builder Plugin

CVE-2026-133361

Deferred

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Arbitrary script execution in a visitor's browser

Severity:

HIGH RISK

(7.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

The BlockStrap Page Builder plugin for WordPress has a stored cross-site scripting flaw involving the comment parameter. An unauthenticated attacker who meets the comment-approval prerequisite may be able to store script content that runs in visitors' browsers when they view an affected page on a site using a block theme.

Affected context

The issue is described in BlockStrap Page Builder – Bootstrap Blocks versions up to and including 0.1.65. It involves insufficient sanitization of the comment parameter and inadequate escaping when the content is rendered.

Exploitation is subject to specific site conditions: the site must use a block theme, and WordPress's default comment policy must allow later comments from an author whose comment has previously been approved for the same name and email address.

Exploit preconditions

  • Attack surface: The plugin's comment-handling and page-rendering paths.
  • Required access: No authenticated account is inherently required, but the attacker must first have a comment approved for the relevant name and email address.
  • Trigger point: A subsequent comment is processed and its content is rendered on an affected page.
  • Deployment condition: The site must use a block theme, and comment-moderation behavior must allow the subsequent comment to bypass moderation.
  • Why exploitation is possible: Insufficient input sanitization and output escaping can allow script-capable content to persist and execute in visitors' browsers.

Why this happens

The plugin does not adequately sanitize the comment parameter or escape its value for the context in which it is later displayed. This is a stored cross-site scripting weakness, mapped to CWE-79: Improper Neutralization of Input During Web Page Generation. Untrusted comment content is retained and rendered in a way that may cause a browser to interpret it as executable script.

Potential impact

  • Malicious script may run in the browser of a visitor viewing an affected page.
  • A visitor's session or actions on the site could be exposed to abuse, depending on browser and site controls.
  • The affected page could be altered or used to mislead visitors.
  • Site reputation and user trust could be harmed.

General mitigation guidance

Common defensive patterns for stored XSS include:

  • Sanitize untrusted input according to the intended content format, while avoiding reliance on input filtering alone.
  • Apply context-appropriate output encoding whenever user-controlled content is rendered.
  • Use secure-by-default APIs and templating practices that escape output automatically.
  • Reduce trust in comment identity and moderation signals; review approval and repeat-comment policies for unintended bypasses.
  • Apply least privilege to site accounts and restrict who can approve comments or change relevant settings.
  • Consider defense-in-depth browser policies, such as a carefully configured Content Security Policy.

How teams detect issues like this

  • Use static analysis to identify user-controlled comment data reaching page output without context-appropriate escaping.
  • Review code paths that accept, store, transform, or render the comment parameter, including block-theme rendering paths.
  • Test moderation policies to confirm how repeat comments are handled for previously approved names and email addresses.
  • Monitor rendered pages and comment records for unexpected script-capable content.
  • Enforce secure output-escaping and input-validation rules in code review and CI policies; automated review tools can help flag risky data flows.

Sources

SourceLink
github.comgithub.com/AyeCode/blockstrap-page-builder-blocks/archive/refs/heads/main.zip
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/blockstrap-page-builder-blocks/tags/0.1.65/blocks/class-blockstrap-widget-modal.php#L480
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/blockstrap-page-builder-blocks/tags/0.1.65/blocks/class-blockstrap-widget-modal.php#L500
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/blockstrap-page-builder-blocks/tags/0.1.65/blockstrap-page-builder-blocks.php#L121
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/blockstrap-page-builder-blocks/tags/0.1.65/classes/class-blockstrap-blocks-comments.php
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/blockstrap-page-builder-blocks/tags/0.1.65/vendor/ayecode/wp-super-duper/sd-functions.php#L3406
plugins.trac.wordpress.orgplugins.trac.wordpress.org/browser/blockstrap-page-builder-blocks/tags/0.1.65/vendor/ayecode/wp-super-duper/sd-functions.php#L3438
plugins.trac.wordpress.orgplugins.trac.wordpress.org/changeset?reponame=&new=3813490%40blockstrap-page-builder-blocks%2Ftags%2F0.1.66&old=3809495%40blockstrap-page-builder-blocks%2Ftags%2F0.1.65
wordfence.comwordfence.com/threat-intel/vulnerabilities/id/9a32de2e-571f-4e43-94f1-78e0f821404a?source=cve

Frequently asked

questions

It can be triggered through the site's comment functionality, but exploitation has prerequisites: a comment from the relevant name and email address must already have been approved, and the site must use a block theme.

The description indicates that an authenticated account is not required. However, the attacker must satisfy the prior-comment approval condition for subsequent comments to bypass moderation under the default policy.

Treat comment content as untrusted, sanitize it for the intended format, and apply context-appropriate output escaping wherever it is rendered.

Use auto-escaping output APIs, review comment approval and repeat-comment policies, and include static analysis and security-focused code review for user-controlled data flows.

Find out what's already
exploitable in your codebase.