CVE-2025-11160 WPBakery Page Builder <= 8.6.1 - Stored Cross-Site Scripting via Custom JS Module
Authenticated attackers can inject arbitrary scripts via the Custom JS module, leading to code execution or account takeover when users view affected pages.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-11160?
CVE-2025-11160 is a medium-severity cross-site scripting vulnerability in WPBakery Page Builder, published on 15 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WPBakery Page Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Custom JS module in all versions up to, and including, 8.6.1. This is due to insufficient input sanitization and output escaping of user-supplied JavaScript code in the Custom JS module. This makes it possible for authenticated attackers with contributor-level access or higher to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page via the WPBakery Page Builder Custom JS module granted they have access to the WPBakery editor for post types.
Weakness: CWE-80
Which versions are affected by CVE-2025-11160?
It affects 1 product.
Products include Wpbakery Page Builder.
How do I fix CVE-2025-11160?
No fix has been published for CVE-2025-11160 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-11160 being exploited?
There is no known exploitation of CVE-2025-11160 in the wild and no public exploit code.
Other vulnerabilities in WPBakery Page Builder
- CVE-2024-5709 WPBakery <= 7.7 - Authenticated (Author+) Local File Inclusion
- CVE-2024-43953 WordPress Classic Addons – WPBakery Page Builder plugin <= 3.5 - Cross Site Scripting (XSS) vulnerability
- CVE-2023-31213 WordPress WPBakery Page Builder Plugin < 6.13.0 is vulnerable to Cross Site Scripting (XSS)
- CVE-2025-10006 WPBakery Page Builder <= 8.6 - Authenticated (Contributor+) Stored Cross-Site Scripting
- CVE-2025-11161 WPBakery Page Builder <= 8.6.1 - Stored Cross-Site Scripting via vc_custom_heading Shortcode
Sources
Also known as GHSA-vqvf-fjc6-jhfg.