CVE-2026-2422: WP Composer <= 1.0.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'pbwp_raw_shortcode' Shortcode
The WP Composer – The Easiest Page Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'pbwprawshortcode' 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.
Affected Software
Event History
Frequently Asked Questions
What level of access does an attacker need?
An attacker must be authenticated with at least Contributor-level access. No user interaction is required from the attacker after they inject the payload.
Who is exposed to the injected script?
Any user who accesses a page containing the injected shortcode can trigger the stored script. The vulnerability can affect the confidentiality and integrity of those users' sessions or actions in the WordPress site.
Which plugin versions are affected?
All WP Composer versions up to and including 1.0.5 are affected.