CVE-2026-122221
Deferred Deferred - Pending Action

Stored XSS in WordPress Accordion Block Plugin

Vulnerability report for CVE-2026-122221, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: Wordfence

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wpbakery WPBakery Page Builder From 0 (inc) to 9.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Stored Cross-Site Scripting (XSS) vulnerability in the WPBakery Page Builder WordPress plugin affecting versions up to 9.1. It occurs due to insufficient input sanitization and output escaping in the 'section_title_tag' parameter. Authenticated attackers with contributor-level access or higher can inject malicious scripts into pages. The plugin has a helper function to restrict allowed tags but it is not used in the accordion render path. Malicious values are stored without proper parsing of shortcode attributes.

Detection Guidance

This vulnerability requires checking WordPress installations for the WPBakery Page Builder plugin versions up to 9.1. Inspect plugin files for the 'section_title_tag' parameter usage in accordion elements. Look for stored malicious scripts in post_content fields of the database.

Impact Analysis

An attacker could exploit this to inject malicious scripts into your WordPress site. When users access the infected pages, the scripts execute in their browsers. This could lead to theft of session cookies, account takeover, or defacement of your website. The impact depends on the attacker's goals and the privileges of compromised accounts.

Compliance Impact

This vulnerability could lead to unauthorized access or data breaches, violating GDPR's data protection requirements and HIPAA's security rules for protected health information. If exploited, it may result in non-compliance due to unauthorized data exposure or script execution on user systems.

Mitigation Strategies

Update WPBakery Page Builder to the latest version immediately. Remove or restrict contributor-level access to untrusted users. Review and sanitize existing posts containing accordion elements for malicious scripts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-122221. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...