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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
ghozylab WP Composer – The Easiest Page Builder
Default version status: unaffected
0 to ≤ 1.0.5affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7e328f1d-687d-424f-aab7-343bcece90cd?source=cve ↗
- https://plugins.trac.wordpress.org/browser/page-builder-wp/tags/1.0.5/inc/global/wpc-helpers.php#L3578 ↗
- https://plugins.trac.wordpress.org/browser/page-builder-wp/trunk/inc/global/wpc-helpers.php#L3578 ↗
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3482357%40page-builder-wp&new=3482357%40page-builder-wp ↗