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-11161: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in wpbakery WPBakery Page Builder

0
Medium
VulnerabilityCVE-2025-11161cvecve-2025-11161cwe-80
Published: Wed Oct 15 2025 (10/15/2025, 06:43:56 UTC)
Source: CVE Database V5
Vendor/Project: wpbakery
Product: WPBakery Page Builder

Description

The WPBakery Page Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the vc_custom_heading shortcode in all versions up to, and including, 8.6.1. This is due to insufficient restriction of allowed HTML tags and improper sanitization of user-supplied attributes in the font_container parameter. This makes it possible for authenticated attackers with contributor-level access or higher to inject arbitrary web scripts in posts that will execute whenever a user accesses an injected page via the vc_custom_heading shortcode with malicious tag and text attributes granted they have access to use WPBakery shortcodes.

AI-Powered Analysis

AILast updated: 10/15/2025, 07:09:20 UTC

Technical Analysis

CVE-2025-11161 is a stored cross-site scripting vulnerability identified in the WPBakery Page Builder plugin for WordPress, affecting all versions up to and including 8.6.1. The root cause is insufficient sanitization and improper restriction of allowed HTML tags within the font_container parameter of the vc_custom_heading shortcode. Authenticated attackers with contributor-level access or higher can exploit this flaw by injecting arbitrary JavaScript code into posts via specially crafted shortcode attributes. When any user accesses a page containing the malicious shortcode, the injected script executes in their browser context, potentially compromising session tokens, redirecting users, or performing actions on behalf of the victim. The vulnerability does not require user interaction beyond page viewing and has a CVSS 3.1 base score of 6.4, indicating medium severity. The attack vector is network-based with low attack complexity and privileges required at the contributor level. The scope is changed since the vulnerability affects multiple users viewing the injected content. No public exploits have been reported yet, but the vulnerability is significant due to the popularity of WPBakery Page Builder and WordPress globally. The flaw is categorized under CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page), a common XSS weakness. Mitigation currently relies on limiting contributor permissions, sanitizing inputs, and monitoring for suspicious shortcode usage until an official patch is released.

Potential Impact

For European organizations, this vulnerability poses a risk primarily to websites and web applications built on WordPress using the WPBakery Page Builder plugin. Given WordPress's dominant market share in Europe for content management systems, many organizations—ranging from SMEs to large enterprises—could be exposed. Exploitation can lead to session hijacking, defacement, unauthorized actions performed on behalf of users, and potential data leakage, undermining user trust and compliance with data protection regulations such as GDPR. The requirement for contributor-level access limits the attack surface but insider threats or compromised accounts could be leveraged. The vulnerability could also be used as a foothold for further attacks within an organization's network. The impact on confidentiality and integrity is moderate, while availability is not affected. Organizations with public-facing WordPress sites, especially those handling sensitive user data or e-commerce, face reputational and operational risks. The medium severity rating suggests prioritization but not emergency response unless combined with other threats.

Mitigation Recommendations

1. Immediately review and restrict contributor-level permissions to trusted users only, minimizing the risk of malicious shortcode injection. 2. Implement strict input validation and sanitization on all user-generated content, particularly for shortcodes and HTML attributes, using server-side filtering libraries or WordPress security plugins that enforce content sanitization. 3. Monitor WordPress sites for unusual shortcode usage or unexpected script tags within posts, employing automated scanning tools or SIEM alerts. 4. Disable or restrict the use of the vc_custom_heading shortcode for contributors if possible until a patch is available. 5. Maintain regular backups of website content to enable rapid restoration if defacement or compromise occurs. 6. Stay informed about updates from WPBakery and apply security patches promptly once released. 7. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 8. Educate content creators and administrators about the risks of XSS and the importance of secure content management practices.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-09-29T15:17:13.737Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68ef451c439e765f09a73be1

Added to database: 10/15/2025, 6:54:20 AM

Last enriched: 10/15/2025, 7:09:20 AM

Last updated: 10/15/2025, 5:25:13 PM

Views: 5

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 enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats