The Events Calendar Shortcode & Block Security & Risk Analysis

wordpress.org/plugins/the-events-calendar-shortcode

Add shortcode, block, Elementor and Bricks functionality to The Events Calendar Plugin, so you can easily list and promote your events anywhere.

20K active installs v3.1.3 PHP 7.4+ WP 6.2+ Updated Feb 5, 2026
calendareventeventsshortcodethe-events-calendar
98
A · Safe
CVEs total2
Unpatched0
Last CVEFeb 9, 2026
Safety Verdict

Is The Events Calendar Shortcode & Block Safe to Use in 2026?

Generally Safe

Score 98/100

The Events Calendar Shortcode & Block has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Feb 9, 2026Updated 1mo ago
Risk Assessment

The plugin "the-events-calendar-shortcode" v3.1.3 demonstrates a generally good security posture with several positive indicators. Notably, all identified entry points, including AJAX handlers, REST API routes, shortcodes, and cron events, appear to have authentication checks in place. The code also makes extensive use of prepared statements for SQL queries, indicating a strong defense against SQL injection. Output escaping is also largely implemented, with 84% of outputs being properly handled. However, a significant concern lies in its vulnerability history. The plugin has two known medium-severity CVEs, both related to Cross-Site Scripting (XSS), and the last recorded vulnerability was in early 2026, which is concerning as it suggests a pattern of past security weaknesses. While the current version's static analysis shows no critical or high severity issues, and no unsanitized taint flows, the historical context of XSS vulnerabilities warrants caution. The presence of file operations and external HTTP requests, while not inherently insecure, are potential vectors that require careful scrutiny in future analyses or if new vulnerabilities emerge. Overall, the plugin has strengths in secure coding practices, but its past vulnerability record necessitates ongoing vigilance.

Key Concerns

  • Known medium severity CVEs
  • Vulnerability history indicates past XSS issues
  • 84% output escaping, not 100%
Vulnerabilities
2

The Events Calendar Shortcode & Block Security Vulnerabilities

CVEs by Year

2 CVEs in 2026
2026
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

CVE-2026-1922medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The Events Calendar Shortcode & Block <= 3.1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes

Feb 9, 2026 Patched in 3.1.3 (1d)
CVE-2026-24988medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The Events Calendar Shortcode & Block <= 3.1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting

Feb 4, 2026 Patched in 3.1.2 (6d)
Code Analysis
Analyzed Mar 16, 2026

The Events Calendar Shortcode & Block Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
53
272 escaped
Nonce Checks
3
Capability Checks
8
File Operations
1
External Requests
1
Bundled Libraries
0

Output Escaping

84% escaped325 total outputs
Data Flows
All sanitized

Data Flow Analysis

3 flows
optin_notice (tracking\class-plugin-usage-tracker.php:773)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

The Events Calendar Shortcode & Block Attack Surface

Entry Points4
Unprotected0

AJAX Handlers 3

authwp_ajax_ecs_show_linkincludes\ajax-endpoints.php:17
authwp_ajax_ecs_dismiss_rating_noticeincludes\notices\rating.php:68
authwp_ajax_goodbye_formtracking\class-plugin-usage-tracker.php:126

Shortcodes 1

[ecs-list-events] the-events-calendar-shortcode.php:112
WordPress Hooks 29
actionplugins_loadedadmin\class-getting-started.php:13
actionadmin_menuadmin\class-getting-started.php:25
actionadmin_headadmin\class-getting-started.php:26
actionadmin_initadmin\class-getting-started.php:27
actionplugins_loadedadmin\class-getting-started.php:28
actioninitblock\init.php:97
actionadmin_noticesincludes\notices\rating.php:30
actionadmin_initincludes\notices\rating.php:32
actionelementor/widgets/widgets_registeredthe-events-calendar-shortcode.php:37
actioninitthe-events-calendar-shortcode.php:49
actionwp_enqueue_scriptsthe-events-calendar-shortcode.php:65
actionelementor/editor/before_enqueue_scriptsthe-events-calendar-shortcode.php:77
actionplugins_loadedthe-events-calendar-shortcode.php:109
actionadmin_menuthe-events-calendar-shortcode.php:110
filterecs_ending_outputthe-events-calendar-shortcode.php:113
filterecs_ending_outputthe-events-calendar-shortcode.php:114
actionplugins_loadedthe-events-calendar-shortcode.php:115
actionadmin_menuthe-events-calendar-shortcode.php:116
actionadmin_noticesthe-events-calendar-shortcode.php:172
actionadmin_print_stylesthe-events-calendar-shortcode.php:195
actionafter_switch_themetracking\class-plugin-usage-tracker.php:84
actionswitch_themetracking\class-plugin-usage-tracker.php:85
filtercron_schedulestracking\class-plugin-usage-tracker.php:111
actionput_do_weekly_actiontracking\class-plugin-usage-tracker.php:113
actionadmin_inittracking\class-plugin-usage-tracker.php:119
actionadmin_noticestracking\class-plugin-usage-tracker.php:120
actionadmin_noticestracking\class-plugin-usage-tracker.php:121
actionadmin_footer-plugins.phptracking\class-plugin-usage-tracker.php:125
actionadmin_inittracking\class-plugin-usage-tracker.php:782

Scheduled Events 1

put_do_weekly_action
Maintenance & Trust

The Events Calendar Shortcode & Block Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 5, 2026
PHP min version7.4
Downloads765K

Community Trust

Rating94/100
Number of ratings97
Active installs20K
Developer Profile

The Events Calendar Shortcode & Block Developer Profile

Brian Hogg

2 plugins · 21K total installs

99
trust score
Avg Security Score
99/100
Avg Patch Time
4 days
View full developer profile
Detection Fingerprints

How We Detect The Events Calendar Shortcode & Block

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/the-events-calendar-shortcode/includes/elementor/static/admin.css/wp-content/plugins/the-events-calendar-shortcode/includes/bricks/static/admin.css
Version Parameters
the-events-calendar-shortcode

HTML / DOM Fingerprints

CSS Classes
ecs-events-list
Shortcode Output
[ecs-list-events]
FAQ

Frequently Asked Questions about The Events Calendar Shortcode & Block