CVE-2025-7502

WPBakery Page Builder for WordPress <= 8.5 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published Aug 6, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The WPBakery Page Builder for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via several shortcodes in all versions up to, and including, 8.5 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

Analysis

AI-generated

Technical impact

WPBakery Page Builder for WordPress allows authenticated users with contributor or higher privileges to inject arbitrary web scripts by taking advantage of insufficient input sanitization and output escaping on user supplied attributes within multiple shortcodes. The stored XSS flaw results in malicious scripts executing whenever any visitor loads a page that contains the injected content, enabling credential theft, session hijacking, or other malicious actions without the visitor’s knowledge.

Affected Systems

The vulnerability targets the WPBakery Page Builder plugin for WordPress, affecting all released versions up to and including 8.5. Any WordPress site that has the plugin installed and includes users with contributor or higher roles is potentially exposed; the specific WordPress core version is not a factor. No additional external components are required for the exploit.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, and the EPSS score of less than 1% implies a low current likelihood of exploitation. The flaw is not listed in the CISA KEV catalog, suggesting no publicly known exploits at this time. Nevertheless, an attacker only needs to authenticate as a contributor or higher to inject malicious code, after which the code persists on the site and runs for all subsequent visitors, making it a potentially high-impact vector if the threat actor obtains such credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the WPBakery Page Builder plugin to version 8.6 or newer, where the issue is resolved.
  • If an upgrade is not immediately possible, restrict contributor and higher role users from adding content that includes shortcodes, or temporarily disable the plugin until a fix is applied.
  • Implement a content security policy that blocks inline script execution and enforce strict script-src directives to reduce the impact of stored XSS.
  • Monitor the site’s logs for unusual script activity and educate users about phishing risk.

Generated by OpenCVE AI on April 20, 2026 at 19:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-23729 The WPBakery Page Builder for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via several shortcodes in all versions up to, and including, 8.5 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
History
Type Values Removed Values Added
First Time appeared Wpbakery page Builder
CPEs cpe:2.3:a:wpbakery:page_builder:*:*:*:*:*:wordpress:*:*
Vendors & Products Wpbakery page Builder
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpbakery
Wpbakery wpbakery Page Builder
Vendors & Products Wordpress
Wordpress wordpress
Wpbakery
Wpbakery wpbakery Page Builder
Type Values Removed Values Added
Description The WPBakery Page Builder for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via several shortcodes in all versions up to, and including, 8.5 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Title WPBakery Page Builder for WordPress <= 8.5 - Authenticated (Contributor+) Stored Cross-Site Scripting
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
Apr 8, 2026, 5:26 PM
Reserved
Jul 11, 2025, 6:10 PM
Status
Analyzed
Published
Aug 6, 2025, 2:15 AM
Modified
Jun 17, 2026, 10:05 AM