Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-122221: medium-severity vulnerability (CVSS 6.4) in wpbakery WPBakery Page Builder.
What happened
Original description from the source: The plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'section_title_tag' parameter in all versions up to, and including, 9.1 due to insufficient input sanitization and output escaping. 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. Although the plugin ships a resolveSectionTitleTag() helper that enforces an [h1–h6, p] allow-list, the accordion render path never invokes it, and the wp_kses_post sanitization applied to post_content on save does not parse shortcode attribute text, leaving the malicious value stored verbatim.
Why it matters
Medium severity, CVSS 6.4.
Affected products and versions
wpbakery WPBakery Page Builder <= 9.1
| Product | Versions | Fixed in |
|---|---|---|
| wpbakery WPBakery Page Builder | <= 9.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5da8f9ab-a94a-4b92-9242-cf34c4d9cb16?source=cve — CVE Program
- https://kb.wpbakery.com/docs/release-notes/ — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.