What the vulnerability does
01Description
The The Events Calendar Shortcode & Block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `ecs-list-events` shortcode `message` attribute in all versions up to, and including, 3.1.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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 Events Calendar Shortcode & Block plugin for WordPress contains a cross-site scripting (XSS) vulnerability in versions up to 3.1.2. An authenticated user with low privileges can inject malicious scripts that execute in other users' browsers, including administrators. The vulnerability has scope change, meaning the impact extends beyond the vulnerable component itself.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers, potentially stealing session tokens or performing actions as those users.
Potential impact on your site
04Site Impact
Authenticated users can compromise admin accounts or other users' sessions without requiring them to click a malicious link.
Conditions required to exploit
05Prerequisites
Attacker must have a WordPress user account with low-level privileges (e.g., subscriber or contributor role).
Key dates
06Disclosure timeline
February 10, 2026
CVE published
April 8, 2026
Record updated