Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-4968: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpbakery WPBakery Visual Composer

0
Medium
VulnerabilityCVE-2025-4968cvecve-2025-4968cwe-79
Published: Thu Jul 24 2025 (07/24/2025, 03:39:04 UTC)
Source: CVE Database V5
Vendor/Project: wpbakery
Product: WPBakery Visual Composer

Description

The WPBakery Page Builder for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple Page Builder elements (Copyright Element, Hover Box, Separator With Text, FAQ, Single Image, Custom Header, Button, Call To Action, Progress Bar, Pie Chart, Round Chart, and Line Chart) in all versions up to, and including, 8.4.1 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 14:56:20 UTC

Technical Analysis

CVE-2025-4968 is a stored cross-site scripting (XSS) vulnerability identified in the WPBakery Visual Composer plugin for WordPress, affecting all versions up to and including 8.4.1. The vulnerability stems from improper neutralization of input during web page generation (CWE-79), specifically due to insufficient sanitization and output escaping of user-supplied attributes in multiple page builder elements such as Copyright Element, Hover Box, Separator With Text, FAQ, Single Image, Custom Header, Button, Call To Action, Progress Bar, Pie Chart, Round Chart, and Line Chart. An attacker with authenticated contributor-level access or higher can inject arbitrary JavaScript code into pages via these elements. Because the malicious scripts are stored in the page content, they execute whenever any user accesses the affected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of users. The vulnerability does not require user interaction beyond visiting the page and has a CVSS 3.1 base score of 6.4 (medium severity), with attack vector network, low attack complexity, privileges required (low), no user interaction, and scope changed. No public exploits are known at this time. The vulnerability highlights the risk of insufficient input validation in widely used WordPress plugins and the importance of strict access control and sanitization in web applications.

Potential Impact

The impact of CVE-2025-4968 is significant for organizations running WordPress sites with the WPBakery Visual Composer plugin, especially those allowing contributor-level or higher access to multiple users. Successful exploitation enables attackers to inject persistent malicious scripts that execute in the browsers of any visitors to the compromised pages. This can lead to session hijacking, theft of sensitive user data, unauthorized actions performed with victim privileges, and potential pivoting to further attacks within the organization’s web environment. Since the vulnerability affects a popular page builder plugin used by millions of websites worldwide, the attack surface is large. Compromised sites may suffer reputational damage, data breaches, and regulatory consequences if user data is exposed. The requirement for authenticated access limits exploitation to insiders or compromised accounts, but many organizations have multiple contributors, increasing risk. The vulnerability does not impact availability but threatens confidentiality and integrity of user data and site content.

Mitigation Recommendations

To mitigate CVE-2025-4968, organizations should immediately update the WPBakery Visual Composer plugin to a patched version once released by the vendor. Until a patch is available, restrict contributor-level and higher access strictly to trusted users and review user permissions regularly. Implement web application firewalls (WAFs) with rules to detect and block common XSS payloads targeting the affected elements. Employ Content Security Policy (CSP) headers to limit script execution sources and reduce impact of injected scripts. Conduct regular security audits of user-generated content and monitor logs for suspicious activity indicative of exploitation attempts. Educate content contributors about safe input practices and the risks of injecting untrusted content. Consider disabling or limiting use of vulnerable page builder elements if feasible. Finally, maintain robust incident response plans to quickly address any detected compromise stemming from this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-05-19T20:58:07.027Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6881b066ad5a09ad00303fc9

Added to database: 7/24/2025, 4:02:46 AM

Last enriched: 2/27/2026, 2:56:20 PM

Last updated: 3/24/2026, 8:11:26 PM

Views: 275

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses