CVE-2023-31213 WordPress WPBakery Page Builder Plugin < 6.13.0 is vulnerable to Cross Site Scripting (XSS)
Authenticated contributors can inject malicious scripts via stored XSS in WPBakery Page Builder, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-31213?
CVE-2023-31213 is a medium-severity cross-site scripting vulnerability in WPBakery Page Builder, published on 22 Jun 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Auth. (contributor+) Stored Cross-Site Scripting (XSS) vulnerability in WPBakery Page Builder plugin <= 6.13.0 versions.
Weakness: CWE-79
Which versions are affected by CVE-2023-31213?
It affects 1 product.
Products include Wpbakery Page Builder.
How do I fix CVE-2023-31213?
No fix has been published for CVE-2023-31213 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-2023-31213 being exploited?
There is no known exploitation of CVE-2023-31213 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-2025-10006 WPBakery Page Builder <= 8.6 - Authenticated (Contributor+) Stored Cross-Site Scripting
- CVE-2025-11160 WPBakery Page Builder <= 8.6.1 - Stored Cross-Site Scripting via Custom JS Module
- CVE-2025-11161 WPBakery Page Builder <= 8.6.1 - Stored Cross-Site Scripting via vc_custom_heading Shortcode
Sources
Also known as GHSA-wg43-wvvf-m3m2.