Description
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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
| 2026-02-04: | Vendor Notified |
| 2026-02-09: | Disclosed |
Credits
Muhammad Yudha - DJ
References
www.wordfence.com/...-97e7-4b2c-865d-bd81919647ae?source=cve
plugins.trac.wordpress.org/...-events-calendar-shortcode.php
plugins.trac.wordpress.org/...-events-calendar-shortcode.php
plugins.trac.wordpress.org/...hortcode&sfp_email=&sfph_mail=