What the vulnerability does
01Description
The Easy Accordion plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'accordionTitleTag' block attribute in versions up to, and including, 3.1.8. This is due to insufficient input sanitization and output escaping in the accordion_header_renderer() function, which emits the attacker-supplied tag name using esc_attr() in an HTML tag-name context instead of tag_escape(). 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.
Explanation of Vulnerability in Simple Terms
02Summary
The Easy Accordion plugin for WordPress contains a stored cross-site scripting (XSS) vulnerability in versions up to 3.1.8. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other site visitors, potentially compromising their sessions or stealing data. The vulnerability affects the plugin's core accordion and FAQ block functionality.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers when they view affected pages.
Potential impact on your site
04Site Impact
Visitors to pages with compromised accordion blocks may have their sessions hijacked or credentials stolen.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege WordPress account (e.g., contributor or subscriber role).
Key dates
06Disclosure timeline
August 8, 2026
CVE published