CVE-2026-2422

WP Composer <= 1.0.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'pbwp_raw_shortcode' Shortcode

Published Sep 19, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The WP Composer – The Easiest Page Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'pbwp_raw_shortcode' shortcode in all versions up to, and including, 1.0.5. This is due to the shortcode handler decoding Base64-encoded content and outputting it directly without any sanitization or escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The Base64 encoding allows the payload to bypass WordPress's KSES content filtering at save time, since the encoded string contains no harmful HTML characters.

Analysis

AI-generated

Technical impact

The vulnerability exists in the WP Composer plugin’s 'pbwp_raw_shortcode', which decodes Base64-encoded content and outputs it directly without sanitization. An authenticated attacker with Contributor level or higher can insert malicious JavaScript into a page or post. When any visitor loads the page, the injected script runs in the viewer’s browser, allowing the attacker to steal session cookies, perform phishing, or modify page content. The weakness is a stored XSS vulnerability (CWE-79).

Affected Systems

WP Composer – The Easiest Page Builder, all versions up to and including 1.0.5. Contributors and higher roles are required to exploit the flaw.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, while the EPSS score of less than 1% suggests a low probability of immediate exploitation. The plugin is not yet listed in the CISA KEV catalog. Attackers must first authenticate as a Contributor or higher and embed a Base64-encoded payload in the shortcode; the injected code then executes automatically for any site visitor, potentially affecting all users who view the compromised page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade WP Composer to a version newer than 1.0.5 that removes the raw shortcode vulnerability
  • If an upgrade cannot be performed immediately, patch or overwrite the pbwp_raw_shortcode function to strip or escape all content before outputting
  • Restrict Contributor and higher roles from editing or adding content that uses raw shortcodes, or temporarily disable the plugin while a replacement is found

Generated by OpenCVE AI on September 19, 2026 at 23:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Ghozylab
Ghozylab wp Composer – The Easiest Page Builder
Wordpress
Wordpress wordpress
Vendors & Products Ghozylab
Ghozylab wp Composer – The Easiest Page Builder
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The WP Composer – The Easiest Page Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'pbwp_raw_shortcode' shortcode in all versions up to, and including, 1.0.5. This is due to the shortcode handler decoding Base64-encoded content and outputting it directly without any sanitization or escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The Base64 encoding allows the payload to bypass WordPress's KSES content filtering at save time, since the encoded string contains no harmful HTML characters.
Title WP Composer <= 1.0.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'pbwp_raw_shortcode' Shortcode
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Sep 19, 2026, 2:01 PM
Reserved
Feb 12, 2026, 8:16 PM
Status
Deferred
Published
Sep 19, 2026, 8:16 AM
Modified
Sep 21, 2026, 1:33 PM