CVE-2022-2695 MEDIUM

CVE-2022-2695: Beaver Builder – WordPress Page Builder <= 2.5.5.2 - Authenticated Stored Cross-Site Scripting via 'caption'

Vendor Justinbusa
Product Beaver Builder – WordPress Page Builder
Weakness CWE-79 · XSS
Published September 6, 2022
Last update February 13, 2025

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

The Beaver Builder – WordPress Page Builder for WordPress is vulnerable to Stored Cross-Site Scripting via the 'caption' parameter added to images via the media uploader in versions up to, and including, 2.5.5.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers with access to the Beaver Builder editor and the ability to upload media files to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Explanation of Vulnerability in Simple Terms

02Summary

Beaver Builder 2.5.5.2 contains a stored cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts into page content. The injected code executes in the browsers of other site visitors, potentially compromising their sessions or stealing data. The vulnerability affects the page builder's content handling and impacts all site visitors regardless of their role.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in other users' browsers when they view affected pages.

Potential impact on your site

04Site Impact

Malicious insiders or compromised user accounts can inject scripts that steal visitor data, hijack sessions, or deface pages.

Conditions required to exploit

05Prerequisites

Attacker must have a WordPress user account with page editing permissions (Contributor role or higher).

Key dates

06Disclosure timeline

September 6, 2022 CVE published
February 13, 2025 Record updated

Related vulnerabilities

08Related CVE