CVE-2026-8898
Deferred Deferred - Pending Action
Stored XSS in Events In City WordPress Plugin

Publication date: 2026-05-27

Last updated on: 2026-05-27

Assigner: Wordfence

Description
The Events In City plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'org-events' shortcode in versions up to, and including, 3.0. This is due to insufficient input sanitization and output escaping on user supplied attributes (such as 'organizer_id', 'width', 'height', 'transparency', 'header', 'border', and 'layout') in the org_event_scode() function. The attribute values are concatenated directly into HTML attributes without esc_attr(). 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-05-27
Last Modified
2026-05-27
Generated
2026-06-16
AI Q&A
2026-05-27
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
events_in_city plugin to 3.0 (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 Events In City plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in versions up to and including 3.0. This occurs because the plugin does not properly sanitize or escape user-supplied attributes in the 'org-events' shortcode, such as 'organizer_id', 'width', 'height', 'transparency', 'header', 'border', and 'layout'. These attribute values are directly concatenated into HTML attributes without using proper escaping functions, allowing authenticated users with contributor-level access or higher to inject malicious scripts that execute when other users view the affected pages.

Impact Analysis

This vulnerability allows attackers with contributor-level access or above to inject arbitrary web scripts into pages. These scripts execute whenever a user accesses the injected page, potentially leading to unauthorized actions such as stealing user credentials, session hijacking, defacement, or spreading malware. Because the attack is stored, the malicious code persists and affects all users who view the compromised content.

Detection Guidance

This vulnerability involves Stored Cross-Site Scripting (XSS) via the 'org-events' shortcode in the Events In City WordPress plugin. Detection typically involves inspecting the content of pages or posts that use this shortcode for injected malicious scripts.

Since the vulnerability arises from insufficient sanitization of shortcode attributes, you can search your WordPress database for instances of the 'org-events' shortcode containing suspicious script tags or unusual attribute values.

Example commands to detect potential exploitation include running SQL queries on the WordPress database to find shortcode usage with script tags or suspicious content.

  • Use a MySQL query to search for the shortcode in post content: SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%[org-events%';
  • Search for script tags within posts that contain the shortcode: SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%[org-events%' AND post_content LIKE '%<script>%';

Additionally, you can scan your web server logs or use web application firewall (WAF) rules to detect unusual requests or payloads targeting the vulnerable shortcode attributes.

Mitigation Strategies

To mitigate this vulnerability, you should update the Events In City plugin for WordPress to a version later than 3.0 where the issue is fixed.

Additionally, restrict contributor-level access and above to trusted users only, as the vulnerability requires authenticated users with such privileges to exploit.

Consider applying input sanitization and output escaping patches if available, or temporarily disable the 'org-events' shortcode until a fix is applied.

Compliance Impact

The vulnerability allows authenticated attackers with contributor-level access to inject arbitrary web scripts that execute when users access the affected pages. This Stored Cross-Site Scripting (XSS) flaw can lead to unauthorized access to user data or session hijacking.

Such security weaknesses can impact compliance with standards like GDPR and HIPAA, which require protection of personal data and secure handling of user information to prevent unauthorized access or data breaches.

However, the provided information does not explicitly detail the direct compliance implications or specific regulatory impacts of this vulnerability.

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