CVE-2026-1922
Awaiting Analysis Awaiting Analysis - Queue
Stored XSS in The Events Calendar Shortcode Plugin Allows Script Injection

Publication date: 2026-02-10

Last updated on: 2026-02-10

Assigner: Wordfence

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-10
Last Modified
2026-02-10
Generated
2026-06-16
AI Q&A
2026-02-10
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
moderntribe the_events_calendar_shortcode_and_block to 3.1.2 (inc)
moderntribe the_events_calendar_shortcode to 3.1.2 (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

The vulnerability exists in The Events Calendar Shortcode & Block plugin for WordPress, specifically in all versions up to and including 3.1.2. It is a Stored Cross-Site Scripting (XSS) vulnerability that arises because the plugin does not properly sanitize or escape user-supplied input in the `message` attribute of the `ecs-list-events` shortcode.

This flaw allows authenticated users with contributor-level access or higher to inject arbitrary web scripts into pages. These scripts then execute whenever any user accesses the affected page, potentially compromising user data or site integrity.

Impact Analysis

This Stored Cross-Site Scripting vulnerability can have several impacts:

  • An attacker with contributor-level access or above can inject malicious scripts into pages via the shortcode's message attribute.
  • These malicious scripts execute in the browsers of users who visit the infected pages, potentially leading to theft of cookies, session tokens, or other sensitive information.
  • It can also be used to perform actions on behalf of users without their consent, deface the website, or spread malware.
  • Because the vulnerability requires authenticated access, it limits exploitation to users who already have some level of access, but still poses a significant risk within multi-user WordPress environments.
Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

To mitigate the Stored Cross-Site Scripting vulnerability in The Events Calendar Shortcode & Block plugin for WordPress, you should immediately update the plugin to version 3.1.3 or later.

The update from version 3.1.2 to 3.1.3 includes security improvements that properly sanitize and escape user input in the `message` attribute of the `ecs-list-events` shortcode, preventing arbitrary script injection.

Ensure your WordPress installation and all plugins are kept up to date, and restrict contributor-level access to trusted users only.

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